Changeset 61270 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 11/19/2025 06:15:54 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r59338 r61270 682 682 * @since 5.9.0 683 683 * 684 * @return int eger|null684 * @return int|null ID for a post of type `wp_global_styles`, or null if not available. 685 685 */ 686 686 public static function get_user_global_styles_post_id() { … … 705 705 * @deprecated 6.2.0 Use wp_theme_has_theme_json() instead. 706 706 * 707 * @return bool 707 * @return bool Whether the active theme has a theme.json file. 708 708 */ 709 709 public static function theme_has_support() { … … 781 781 * @param array $variation Theme.json shaped style variation object. 782 782 * @param string $scope Scope to check e.g. theme, block etc. 783 * @return bool ean783 * @return bool Whether the supplied style variation matches the provided scope. 784 784 */ 785 785 private static function style_variation_has_scope( $variation, $scope ) { … … 806 806 * 807 807 * @param string $scope The scope or type of style variation to retrieve e.g. theme, block etc. 808 * @return array 808 * @return array The style variations defined by the theme. 809 809 */ 810 810 public static function get_style_variations( $scope = 'theme' ) {
Note: See TracChangeset
for help on using the changeset viewer.