Remove append and prepend

This commit is contained in:
Brian Miyaji
2015-12-29 15:18:02 +11:00
parent 75afd786b6
commit c8cec6de68
7 changed files with 5 additions and 113 deletions

View File

@@ -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' ),