Changeset 59700 for trunk/src/wp-includes/class-wp-post-type.php
- Timestamp:
- 01/24/2025 01:30:27 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-post-type.php
r59161 r59700 113 113 */ 114 114 public $publicly_queryable = null; 115 116 /** 117 * Whether this post type is embeddable. 118 * 119 * Default is the value of $public. 120 * 121 * @since 6.8.0 122 * @var bool $embeddable 123 */ 124 public $embeddable = null; 115 125 116 126 /** … … 522 532 'exclude_from_search' => null, 523 533 'publicly_queryable' => null, 534 'embeddable' => null, 524 535 'show_ui' => null, 525 536 'show_in_menu' => null, … … 564 575 if ( null === $args['show_ui'] ) { 565 576 $args['show_ui'] = $args['public']; 577 } 578 579 // If not set, default to the setting for 'public'. 580 if ( null === $args['embeddable'] ) { 581 $args['embeddable'] = $args['public']; 566 582 } 567 583
Note: See TracChangeset
for help on using the changeset viewer.