Created
April 13, 2022 15:05
-
-
Save taricco/91f9a4110196b7ba093e14d13baafb33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wsv_add_categories_to_pages() { | |
register_taxonomy_for_object_type( 'category', 'page' ); | |
} | |
add_action( 'init', 'wsv_add_categories_to_pages' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment