Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

pet guardian accepted post status

if ( ! function_exists('pet_guardian_post_status') ) {

// Register Custom Status
function pet_guardian_post_status() {

	$args = array(
		'label'                     => _x( 'Accepted', 'Status General Name', 'f4d' ),
		'label_count'               => _n_noop( 'Accepted (%s)',  'Accepted (%s)', 'f4d' ), 
		'public'                    => true,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
		'exclude_from_search'       => true,
	);
	register_post_status( 'accepted', $args );

}
add_action( 'init', 'pet_guardian_post_status', 0 );

}