Created
March 24, 2024 15:06
Revisions
-
chris-castillo-dev created this gist
Mar 24, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ function add_page_attributes_taxonomy() { $args = array( 'label' => __( 'Page Attributes', 'textdomain' ), 'public' => false, 'rewrite' => false, 'hierarchical' => false, 'show_ui' => true, 'show_in_quick_edit' => true, // Added this line to show in Quick Edit 'show_admin_column' => true, ); register_taxonomy( 'page_attributes', 'page', $args ); } add_action( 'init', 'add_page_attributes_taxonomy' );