Plugin_Upgrader::plugin_info

Advertisement

Summery Summery

Retrieve the path to the file that contains the plugin info.

Syntax Syntax

Plugin_Upgrader::plugin_info()

Description Description

This isn’t used internally in the class, but is called by the skins.

Return Return

(string|false) The full path to the main plugin file, or false.

Source Source

File: wp-admin/includes/class-plugin-upgrader.php

			}

			unset( $past_failure_emails[ $plugin ] );
		}

		update_option( 'auto_plugin_theme_update_emails', $past_failure_emails );

		return $results;
	}

	/**
	 * Check a source package to be sure it contains a plugin.
	 *
	 * This function is added to the {@see 'upgrader_source_selection'} filter by
	 * Plugin_Upgrader::install().
	 *
	 * @since 3.3.0
	 *
	 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply