Automattic\WooCommerce\Internal\Admin

Loader::deactivate_wc_admin_plugin()publicWC 1.0

Метод класса: Loader{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Loader = new Loader();
$Loader->/**;

Код Loader::deactivate_wc_admin_plugin() WC 8.7.0

/**
 * Outputs breadcrumbs via PHP for the initial load of an embedded page.
 *
 * @param array $section Section to create breadcrumb from.
 */
private static function output_heading( $section ) {
	echo esc_html( $section );
}

/**
 * Set up a div for the header embed to render into.
 * The initial contents here are meant as a place loader for when the PHP page initialy loads.
 */
public static function embed_page_header() {
	if ( ! PageController::is_admin_page() && ! PageController::is_embed_page() ) {
		return;
	}

	if ( ! PageController::is_embed_page() ) {
		return;
	}