Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created June 17, 2014 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskoster/86863821a35e8177a936 to your computer and use it in GitHub Desktop.
Save jameskoster/86863821a35e8177a936 to your computer and use it in GitHub Desktop.
Our Team - Speakers
function our_team_speakers_labels( $args ) {
$labels['name'] = __( 'Speakers' );
$labels['add_new_item'] = sprintf( __( 'Add New %s' ), __( 'Speaker' ) );
$labels['add_new'] = _x( 'Add New', 'speaker' );
$labels['singular_name'] = _x( 'Speaker', 'post type singular name' );
$args['labels'] = $labels;
return $args;
}
add_filter( 'woothemes_our_team_post_type_args', 'our_team_speakers_labels' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment