churchthemes.php
public function set_plugin_data() {

		// Load plugin.php if get_plugins() not available
		if ( ! function_exists( 'get_plugins' ) ) {
			require_once ABSPATH . 'wp-admin/includes/plugin.php';
		}

		// Get path to plugin's directory
		$plugin_dir = plugin_basename( dirname( __FILE__ ) );

		// Get plugin data
		$plugin_data = current( get_plugins( '/' . $plugin_dir ) );

		// Set plugin data
		$this->plugin_data = apply_filters( 'ctc_plugin_data', $plugin_data );

	}
public function set_plugin_data() {

		// Load plugin.php if get_plugins() not available
		if ( ! function_exists( 'get_plugins' ) ) {
			require_once ABSPATH . 'wp-admin/includes/plugin.php';
		}

		// Get path to plugin's directory
		$plugin_dir = plugin_basename( dirname( __FILE__ ) );

		// Get plugin data
		$plugin_data = current( get_plugins( '/' . $plugin_dir ) );

		// Set plugin data
		$this->plugin_data = apply_filters( 'ctc_plugin_data', $plugin_data );

	}
public function set_plugin_data ( ) { // Load plugin.php if get_plugins() not available
 if ( ! function_exists ( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php' ; } // Get path to plugin's directory
 $ plugin_dir = plugin_basename ( dirname ( __FILE__ ) ) ; // Get plugin data
 $ plugin_data = current ( get_plugins ( '/' . $ plugin_dir ) ) ; // Set plugin data
 $ this -> plugin_data = apply_filters ( 'ctc_plugin_data' , $ plugin_data ) ; }
Set plugin data

This data is used by constants.

@since 0.9
@access public
Set plugin data