Changeset 52321 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 12/04/2021 03:55:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r52320 r52321 64 64 * Container to keep loaded i18n schema for `theme.json`. 65 65 * 66 * @since 5.8.0 67 * @since 5.9.0 Renamed from `$theme_json_i18n` .66 * @since 5.8.0 As `$theme_json_i18n`. 67 * @since 5.9.0 Renamed from `$theme_json_i18n` to `$i18n_schema`. 68 68 * @var array 69 69 */ … … 224 224 * @since 5.9.0 225 225 * 226 * @param WP_Theme $theme The theme object. If empty, it226 * @param WP_Theme $theme The theme object. If empty, it 227 227 * defaults to the current theme. 228 228 * @param bool $should_create_cpt Optional. Whether a new custom post 229 229 * type should be created if none are 230 * found. False by default.231 * @param array $post_status_filter Filter Optional.custom post type by232 * post status. ['publish'] by default,230 * found. Default false. 231 * @param array $post_status_filter Optional. Filter custom post type by 232 * post status. Default `array( 'publish' )`, 233 233 * so it only fetches published posts. 234 234 * @return array Custom Post Type for the user's origin config.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)