Remove append and prepend
This commit is contained in:
@@ -449,28 +449,6 @@ if ( !function_exists( 'sp_get_post_order' ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists( 'sp_get_post_prepend' ) ) {
|
||||
function sp_get_post_prepend( $post_id ) {
|
||||
$prepend = get_post_meta ( $post_id, 'sp_prepend', true );
|
||||
if ( $prepend ):
|
||||
return $prepend;
|
||||
else:
|
||||
return '—';
|
||||
endif;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists( 'sp_get_post_append' ) ) {
|
||||
function sp_get_post_append( $post_id ) {
|
||||
$append = get_post_meta ( $post_id, 'sp_append', true );
|
||||
if ( $append ):
|
||||
return $append;
|
||||
else:
|
||||
return '—';
|
||||
endif;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists( 'sp_dropdown_statuses' ) ) {
|
||||
function sp_dropdown_statuses( $args = array() ) {
|
||||
$defaults = array(
|
||||
@@ -1306,7 +1284,6 @@ function sp_get_text_options() {
|
||||
__( 'Pos', 'sportspress' ),
|
||||
__( 'Position', 'sportspress' ),
|
||||
__( 'Preview', 'sportspress' ),
|
||||
__( 'Profile', 'sportspress' ),
|
||||
__( 'Rank', 'sportspress' ),
|
||||
__( 'Recap', 'sportspress' ),
|
||||
__( 'Results', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user