Show Post Types customized in Template Page

Question

My plugin has custom Post Types that open on a custom page triggered by the following hook:

add_filter ('template_include', 'taxonomy_template'); // PRINTING PAGE

however, this page only appears when I access the menu:

Settings > Permanent Links

and saved without even changing anything, is there a hook that makes this check and saves automatically?

0
Alisson Custodio 2 months 0 Answers 13 views 0

Leave an answer