plugin1_get_version
The Google WebFonts Integrate plugin1 get version function.
Description
plugin1_get_version();
Usage
if ( !function_exists( 'plugin1_get_version' ) ) { require_once ABSPATH . PLUGINDIR . 'google-webfonts-integrate/google-webfonts-integrate.php'; } // NOTICE! Understand what this does before running. $result = plugin1_get_version();
Defined (1)
The function is defined in the following location(s).
- /google-webfonts-integrate.php
- function plugin1_get_version() {
- if ( ! function_exists( 'get_plugins' ) )
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
- $plugin_folder = get_plugins( '/' . plugin_basename( dirname( __FILE__ ) ) );
- $plugin_file = basename( ( __FILE__ ) );
- return $plugin_folder[$plugin_file]['Version'];
- }