Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Function to change the `WP News and Scrolling` Widgets Pro category slug
- function wpnw_pro_modify_news_cat_slug( $slug ){
- $slug = 'news-category'; // Write your desired slug
- return $slug;
- }
- add_filter( 'wpnw_pro_news_cat_slug', 'wpnw_pro_modify_news_cat_slug' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement