Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Estado Post no editado

Código para guardar post como “no editado”.

if ( ! function_exists('no_editado_post_status') ) {

// Register Custom Status
function no_editado_post_status() {

	$args = array(
		'label'                     => _x( 'No editado', 'Status General Name', 'no_editado_domain' ),
		'label_count'               => _n_noop( 'No editado (%s)',  'No editados (%s)', 'no_editado_domain' ), 
		'public'                    => true,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
		'exclude_from_search'       => true,
	);
	register_post_status( 'no editado', $args );

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

}