acf_admin_options_page::get_options_page_save_args │ protected │ ACF 6.8.11

Returns the args the current options page restricts submitted values with.

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

Хуков нет.

Возвращает

array.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_options_page_save_args();

Список изменений

С версии 6.8.11 Введена.

Код acf_admin_options_page::get_options_page_save_args() ACF 6.8.11

protected function get_options_page_save_args() {
	return array(
		'context'    => 'options_page',
		'post_id'    => $this->page['post_id'],
		'render_ids' => array( $this->get_options_page_render_id() ),
		'screen'     => array( 'options_page' => $this->page['menu_slug'] ),
		'filter_arg' => $this->page,
	);
}