PluginProbe
Gutenberg / 23.2.0
Gutenberg v23.2.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
gutenberg / lib / experimental / content-types / load.php
lib/experimental/content-types
class-wp-rest-user-post-types-controller-gutenberg.php 25.0 KB 3 months ago class-wp-rest-user-taxonomies-controller-gutenberg.php 20.1 KB 3 months ago index.php 16.1 KB 3 months ago load.php 654 B 3 months ago post-types.php 10.8 KB 3 months ago

load.php in Gutenberg 23.2.0, at lib/experimental/content-types/load.php

27 lines 654 B Raw Download Zip
1 <?php
2 /**
3 * Bootstraps the Content Types page in wp-admin under Settings.
4 *
5 * @package gutenberg
6 */
7
8 add_action( 'admin_menu', '_gutenberg_content_types_add_settings_menu_items', 11 );
9
10 /**
11 * Registers the "Content Types" submenu item under Settings.
12 *
13 * @access private
14 */
15 function _gutenberg_content_types_add_settings_menu_items() {
16 if ( function_exists( 'gutenberg_content_types_wp_admin_render_page' ) ) {
17 add_submenu_page(
18 'options-general.php',
19 __( 'Content Types', 'gutenberg' ),
20 __( 'Content Types', 'gutenberg' ),
21 'manage_options',
22 'content-types-wp-admin',
23 'gutenberg_content_types_wp_admin_render_page'
24 );
25 }
26 }
27