Add sp_spec CPT for Event Specs
a) Create sp_spec b) Add it to Config Page c) Add Admin Meta-Box d) Add Event Meta-Box
This commit is contained in:
@@ -253,7 +253,7 @@ function sportspress_post_updated_messages( $messages ) {
|
||||
|
||||
global $typenow, $post;
|
||||
|
||||
if ( in_array( $typenow, array( 'sp_result', 'sp_outcome', 'sp_column', 'sp_metric', 'sp_performance' ) ) ):
|
||||
if ( in_array( $typenow, array( 'sp_result', 'sp_outcome', 'sp_column', 'sp_metric', 'sp_spec', 'sp_performance' ) ) ):
|
||||
$obj = get_post_type_object( $typenow );
|
||||
|
||||
for ( $i = 0; $i <= 10; $i++ ):
|
||||
|
||||
Reference in New Issue
Block a user