hook works in one page but not another
-
I am using pre_get_terms hook to hide certain terms (Category and tags) from the user. It works as intended in the term creation page
edit-tags.php
.But when I go to the post creation page
post.php
, and look at the “categories” section on the right, where the terms are fetched through ajax, I can see ALL terms.Why does the hook work in one page and not another?
Does ajax have anything to do with it?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘hook works in one page but not another’ is closed to new replies.