ActionScheduler_wpPostStore_PostStatusRegistrar::post_status_args()protectedWC 1.0

Build the args array for the post type definition

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

Хуки из метода

Возвращает

Массив.

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

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

Код ActionScheduler_wpPostStore_PostStatusRegistrar::post_status_args() WC 8.7.0

protected function post_status_args() {
	$args = array(
		'public'                    => false,
		'exclude_from_search'       => false,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
	);

	return apply_filters( 'action_scheduler_post_status_args', $args );
}