Created
February 22, 2017 17:12
-
-
Save brandondove/26eea2b3dbe4de33aa4b8fa4bfb281de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Allows you to modify the custom post type labels for the adsa custom post type | |
*/ | |
function example_pj_ads_labels( $labels = array() ) { | |
$labels['menu_name'] = __( 'Whitelabeled Ads', 'example' ); | |
return $labels; | |
} | |
add_filter( 'pj_ads_labels', 'example_pj_ads_labels' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment