Created
February 19, 2017 12:10
-
-
Save artikus11/b4c1ee41441e9812eb4e6f6694524f08 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
add_filter( 'woocommerce_register_post_type_product', 'artabr_modify_product_post_type' ); | |
function artabr_modify_product_post_type( $args ) { | |
$args['labels']['name'] = 'Услуги'; | |
$args['labels']['singular_name'] = 'Услуга'; | |
$args['labels']['menu_name'] = 'Услуги'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment