ActionScheduler_wpPostStore_PostStatusRegistrar::post_status_args()protectedWC 1.0

Build the args array for the post type definition

Method of the class: ActionScheduler_wpPostStore_PostStatusRegistrar{}

Hooks from the method

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->post_status_args();

ActionScheduler_wpPostStore_PostStatusRegistrar::post_status_args() code 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 );
}