Skip to content

Instantly share code, notes, and snippets.

@kjohnson
Created March 18, 2015 18:59
Show Gist options
  • Save kjohnson/fc3615877fc1b9a957b0 to your computer and use it in GitHub Desktop.
Save kjohnson/fc3615877fc1b9a957b0 to your computer and use it in GitHub Desktop.
function get_ninja_forms_version() {
$plugin_settings = get_option( 'ninja_forms_settings' );
return isset( $plugin_settings['version'] ) ? $plugin_settings['version'] : '';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment