Disable CPT filter not working
-
Hi,
I am trying to disable this plugin for one CPT (the reason is that I can’t have parent/child structure because it conflicts with this plugin).
When I do this: add_filter( ‘cptp_is_rewrite_supported_by_[my_cpt]’, ‘__return_false’ ); it works for that CPT and the conflict issue is resolved.However, other CPT returns 404 (and it works if I don’t have a code with filter).
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable CPT filter not working’ is closed to new replies.