Yoast\WP\SEO\Bulk_Editor\User_Interface

Bulk_Editor_Integration::add_page │ public │ Yoast 1.0

Adds the page to the (currently) last position in the array.

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

Хуков нет.

Возвращает

array<array<string|callable|null>>. The pages.

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

$Bulk_Editor_Integration = new Bulk_Editor_Integration();
$Bulk_Editor_Integration->add_page( $pages );
$pages(array<array<string|callable|null>>) (обязательный)
The pages.

Код Bulk_Editor_Integration::add_page() Yoast 28.9

public function add_page( $pages ) {
	$pages[] = [
		'wpseo_dashboard',
		'',
		\__( 'Bulk editor', 'wordpress-seo' ),
		'wpseo_manage_options',
		self::PAGE,
		[ $this, 'display_page' ],
	];

	return $pages;
}