Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eg_remove_my_subscriptions_button( $actions, $subscription ) {
- global $wp_query;
- $cat_id = $wp_query->get_queried_object()->term_id; // get current category id
- if($cat_id == 26) { // check if we're in the category
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement