/home/u523506497/domains/mymelon.in/public_html/career/wp-includes UP
<?php
/**
* Dependencies API: Styles functions
*
* @since 2.6.0
*
* @package WordPress
* @subpackage Dependencies
*/
/**
* Initializes $wp_styles if it has not been set.
*
* @since 4.2.0
*
* @global WP_Styles $wp_styles
*
* @return WP_Styles WP_Styles instance.
*/
function wp_styles() {
global $wp_styles;
if ( ! ( $wp_styles instanceof WP_Styles ) ) {
$wp_styles = new WP_Styles();
}
return $wp_styles;
}
/**
* Displays styles that are in the $handles queue.
*
* Passing an empty array to $handles prints the queue,
* passing an array with one string prints that style,
* and passing an array of strings prints those styles.
*
* @since 2.6.0
*
* @global WP_Styles $wp_styles The WP_Styles object for printing styles.
*
* @param string|bool|array $handles Styles to be printed. Default 'false'.
* @return string[] On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array.
*/
function wp_print_styles( $handles = false ) {
global $wp_styles;
if ( '' === $handles ) { // For 'wp_head'.
$handles = false;
}
if ( ! $handles ) {
/**
* Fires before styles in the $handles queue are printed.
*
* @since 2.6.0
*/
do_action( 'wp_print_styles' );
}
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__ );
if ( ! ( $wp_styles instanceof WP_Styles ) ) {
if ( ! $handles ) {
return array(); // No need to instantiate if nothing is there.
}
}
return wp_styles()->do_items( $handles );
}
/**
* Adds extra CSS styles to a registered stylesheet.
*
* Styles will only be added if the stylesheet is already in the queue.
* Accepts a string $data containing the CSS. If two or more CSS code blocks
* are added to the same stylesheet $handle, they will be printed in the order
* they were added, i.e. the latter added styles can redeclare the previous.
*
* @see WP_Styles::add_inline_style()
*
* @since 3.3.0
*
* @param string $handle Name of the stylesheet to add the extra styles to.
* @param string $data String containing the CSS styles to be added.
* @return bool True on success, false on failure.
*/
function wp_add_inline_style( $handle, $data ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
if ( false !== stripos( $data, '</style>' ) ) {
_doing_it_wrong(
__FUNCTION__,
sprintf(
/* translators: 1: <style>, 2: wp_add_inline_style() */
__( 'Do not pass %1$s tags to %2$s.' ),
'<code><style></code>',
'<code>wp_add_inline_style()</code>'
),
'3.7.0'
);
$data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) );
}
return wp_styles()->add_inline_style( $handle, $data );
}
/**
* Registers a CSS stylesheet.
*
* @see WP_Dependencies::add()
* @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
*
* @since 2.6.0
* @since 4.3.0 A return value was added.
*
* @param string $handle Name of the stylesheet. Should be unique.
* @param string|false $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
* If source is set to false, stylesheet is an alias of other stylesheets it depends on.
* @param string[] $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
* as a query string for cache busting purposes. If version is set to false, a version
* number is automatically added equal to current installed WordPress version.
* If set to null, no version is added.
* @param string $media Optional. The media for which this stylesheet has been defined.
* Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like
* '(orientation: portrait)' and '(max-width: 640px)'.
* @return bool Whether the style has been registered. True on success, false on failure.
*/
function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
return wp_styles()->add( $handle, $src, $deps, $ver, $media );
}
/**
* Removes a registered stylesheet.
*
* @see WP_Dependencies::remove()
*
* @since 2.1.0
*
* @param string $handle Name of the stylesheet to be removed.
*/
function wp_deregister_style( $handle ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
wp_styles()->remove( $handle );
}
/**
* Enqueues a CSS stylesheet.
*
* Registers the style if source provided (does NOT overwrite) and enqueues.
*
* @see WP_Dependencies::add()
* @see WP_Dependencies::enqueue()
* @link https://www.w3.org/TR/CSS2/media.html#media-types List of CSS media types.
*
* @since 2.6.0
*
* @param string $handle Name of the stylesheet. Should be unique.
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
* Default empty.
* @param string[] $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
* as a query string for cache busting purposes. If version is set to false, a version
* number is automatically added equal to current installed WordPress version.
* If set to null, no version is added.
* @param string $media Optional. The media for which this stylesheet has been defined.
* Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like
* '(orientation: portrait)' and '(max-width: 640px)'.
*/
function wp_enqueue_style( $handle, $src = '', $deps = array(), $ver = false, $media = 'all' ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
$wp_styles = wp_styles();
if ( $src ) {
$_handle = explode( '?', $handle );
$wp_styles->add( $_handle[0], $src, $deps, $ver, $media );
}
$wp_styles->enqueue( $handle );
}
/**
* Removes a previously enqueued CSS stylesheet.
*
* @see WP_Dependencies::dequeue()
*
* @since 3.1.0
*
* @param string $handle Name of the stylesheet to be removed.
*/
function wp_dequeue_style( $handle ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
wp_styles()->dequeue( $handle );
}
/**
* Checks whether a CSS stylesheet has been added to the queue.
*
* @since 2.8.0
*
* @param string $handle Name of the stylesheet.
* @param string $status Optional. Status of the stylesheet to check. Default 'enqueued'.
* Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'.
* @return bool Whether style is queued.
*/
function wp_style_is( $handle, $status = 'enqueued' ) {
_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
return (bool) wp_styles()->query( $handle, $status );
}
/**
* Adds metadata to a CSS stylesheet.
*
* Works only if the stylesheet has already been registered.
*
* Possible values for $key and $value:
* 'conditional' string Comments for IE 6, lte IE 7 etc.
* 'rtl' bool|string To declare an RTL stylesheet.
* 'suffix' string Optional suffix, used in combination with RTL.
* 'alt' bool For rel="alternate stylesheet".
* 'title' string For preferred/alternate stylesheets.
* 'path' string The absolute path to a stylesheet. Stylesheet will
* load inline when 'path' is set.
*
* @see WP_Dependencies::add_data()
*
* @since 3.6.0
* @since 5.8.0 Added 'path' as an official value for $key.
* See {@see wp_maybe_inline_styles()}.
*
* @param string $handle Name of the stylesheet.
* @param string $key Name of data point for which we're storing a value.
* Accepts 'conditional', 'rtl' and 'suffix', 'alt', 'title' and 'path'.
* @param mixed $value String containing the CSS data to be added.
* @return bool True on success, false on failure.
*/
function wp_style_add_data( $handle, $key, $value ) {
return wp_styles()->add_data( $handle, $key, $value );
}
| ID3 | - | |
| IXR | - | |
| PHPMailer | - | |
| Requests | - | |
| SimplePie | - | |
| Text | - | |
| admin-bar.php | 37100 | V |
| assets | - | |
| atomlib.php | 12078 | V |
| author-template.php | 18951 | V |
| block-bindings | - | |
| block-bindings.php | 5594 | V |
| block-editor.php | 28340 | V |
| block-i18n.json | 316 | V |
| block-patterns | - | |
| block-patterns.php | 13119 | V |
| block-supports | - | |
| block-template-utils.php | 60145 | V |
| block-template.php | 14142 | V |
| blocks | - | |
| blocks.php | 104889 | V |
| bookmark-template.php | 12948 | V |
| bookmark.php | 15427 | V |
| cache-compat.php | 5969 | V |
| cache.php | 13474 | V |
| canonical.php | 34523 | V |
| capabilities.php | 42718 | V |
| category-template.php | 57003 | V |
| category.php | 12709 | V |
| certificates | - | |
| class-IXR.php | 2543 | V |
| class-avif-info.php | 29615 | V |
| class-feed.php | 539 | V |
| class-http.php | 367 | V |
| class-json.php | 43684 | V |
| class-oembed.php | 401 | V |
| class-phpass.php | 6771 | V |
| class-phpmailer.php | 664 | V |
| class-pop3.php | 21174 | V |
| class-requests.php | 2237 | V |
| class-simplepie.php | 453 | V |
| class-smtp.php | 457 | V |
| class-snoopy.php | 37715 | V |
| class-walker-category-dropdown.php | 2469 | V |
| class-walker-category.php | 8477 | V |
| class-walker-comment.php | 14221 | V |
| class-walker-nav-menu.php | 11784 | V |
| class-walker-page-dropdown.php | 2710 | V |
| class-walker-page.php | 7612 | V |
| class-wp-admin-bar.php | 17874 | V |
| class-wp-ajax-response.php | 5266 | V |
| class-wp-application-passwords.php | 15617 | V |
| class-wp-block-bindings-registry.php | 8463 | V |
| class-wp-block-bindings-source.php | 2992 | V |
| class-wp-block-editor-context.php | 1350 | V |
| class-wp-block-list.php | 4757 | V |
| class-wp-block-metadata-registry.php | 10227 | V |
| class-wp-block-parser-block.php | 2555 | V |
| class-wp-block-parser-frame.php | 2017 | V |
| class-wp-block-parser.php | 11532 | V |
| class-wp-block-pattern-categories-registry.php | 5371 | V |
| class-wp-block-patterns-registry.php | 10783 | V |
| class-wp-block-styles-registry.php | 6262 | V |
| class-wp-block-supports.php | 5612 | V |
| class-wp-block-template.php | 2033 | V |
| class-wp-block-templates-registry.php | 7231 | V |
| class-wp-block-type-registry.php | 5013 | V |
| class-wp-block-type.php | 17265 | V |
| class-wp-block.php | 20438 | V |
| class-wp-classic-to-block-menu-converter.php | 4088 | V |
| class-wp-comment-query.php | 48395 | V |
| class-wp-comment.php | 9372 | V |
| class-wp-customize-control.php | 25730 | V |
| class-wp-customize-manager.php | 202539 | V |
| class-wp-customize-nav-menus.php | 57185 | V |
| class-wp-customize-panel.php | 10637 | V |
| class-wp-customize-section.php | 11209 | V |
| class-wp-customize-setting.php | 29889 | V |
| class-wp-customize-widgets.php | 72157 | V |
| class-wp-date-query.php | 35726 | V |
| class-wp-dependencies.php | 15139 | V |
| class-wp-dependency.php | 2627 | V |
| class-wp-duotone.php | 40783 | V |
| class-wp-editor.php | 72335 | V |
| class-wp-embed.php | 15994 | V |
| class-wp-error.php | 7502 | V |
| class-wp-exception.php | 253 | V |
| class-wp-fatal-error-handler.php | 8150 | V |
| class-wp-feed-cache-transient.php | 3176 | V |
| class-wp-feed-cache.php | 969 | V |
| class-wp-hook.php | 16000 | V |
| class-wp-http-cookie.php | 7389 | V |
| class-wp-http-curl.php | 12541 | V |
| class-wp-http-encoding.php | 6689 | V |
| class-wp-http-ixr-client.php | 3501 | V |
| class-wp-http-proxy.php | 5980 | V |
| class-wp-http-requests-hooks.php | 2022 | V |
| class-wp-http-requests-response.php | 4400 | V |
| class-wp-http-response.php | 2977 | V |
| class-wp-http-streams.php | 16859 | V |
| class-wp-http.php | 41506 | V |
| class-wp-image-editor-gd.php | 19886 | V |
| class-wp-image-editor-imagick.php | 32668 | V |
| class-wp-image-editor.php | 16938 | V |
| class-wp-list-util.php | 7443 | V |
| class-wp-locale-switcher.php | 6630 | V |
| class-wp-locale.php | 16111 | V |
| class-wp-matchesmapregex.php | 1828 | V |
| class-wp-meta-query.php | 30531 | V |
| class-wp-metadata-lazyloader.php | 6833 | V |
| class-wp-navigation-fallback.php | 9211 | V |
| class-wp-network-query.php | 19857 | V |
| class-wp-network.php | 12296 | V |
| class-wp-object-cache.php | 17524 | V |
| class-wp-oembed-controller.php | 6905 | V |
| class-wp-oembed.php | 31475 | V |
| class-wp-paused-extensions-storage.php | 5111 | V |
| class-wp-plugin-dependencies.php | 25319 | V |
| class-wp-post-type.php | 30340 | V |
| class-wp-post.php | 6484 | V |
| class-wp-query.php | 154081 | V |
| class-wp-recovery-mode-cookie-service.php | 6877 | V |
| class-wp-recovery-mode-email-service.php | 11183 | V |
| class-wp-recovery-mode-key-service.php | 4608 | V |
| class-wp-recovery-mode-link-service.php | 3463 | V |
| class-wp-recovery-mode.php | 11435 | V |
| class-wp-rewrite.php | 63688 | V |
| class-wp-role.php | 2523 | V |
| class-wp-roles.php | 8586 | V |
| class-wp-script-modules.php | 19366 | V |
| class-wp-scripts.php | 28344 | V |
| class-wp-session-tokens.php | 7451 | V |
| class-wp-simplepie-file.php | 3408 | V |
| class-wp-simplepie-sanitize-kses.php | 1837 | V |
| class-wp-site-query.php | 31625 | V |
| class-wp-site.php | 7454 | V |
| class-wp-styles.php | 11010 | V |
| class-wp-tax-query.php | 19555 | V |
| class-wp-taxonomy.php | 18567 | V |
| class-wp-term-query.php | 40869 | V |
| class-wp-term.php | 5298 | V |
| class-wp-text-diff-renderer-inline.php | 979 | V |
| class-wp-text-diff-renderer-table.php | 18807 | V |
| class-wp-textdomain-registry.php | 10481 | V |
| class-wp-theme-json-data.php | 1809 | V |
| class-wp-theme-json-resolver.php | 35805 | V |
| class-wp-theme-json-schema.php | 7367 | V |
| class-wp-theme-json.php | 160780 | V |
| class-wp-theme.php | 65413 | V |
| class-wp-token-map.php | 28618 | V |
| class-wp-user-meta-session-tokens.php | 2990 | V |
| class-wp-user-query.php | 43654 | V |
| class-wp-user-request.php | 2222 | V |
| class-wp-user.php | 22827 | V |
| class-wp-walker.php | 13322 | V |
| class-wp-widget-factory.php | 3347 | V |
| class-wp-widget.php | 18424 | V |
| class-wp-xmlrpc-server.php | 214948 | V |
| class-wp.php | 26119 | V |
| class-wpdb.php | 118389 | V |
| class.wp-dependencies.php | 373 | V |
| class.wp-scripts.php | 343 | V |
| class.wp-styles.php | 338 | V |
| comment-template.php | 102773 | V |
| comment.php | 130275 | V |
| compat.php | 16974 | V |
| cron.php | 41594 | V |
| css | - | |
| customize | - | |
| date.php | 400 | V |
| default-constants.php | 11365 | V |
| default-filters.php | 35685 | V |
| default-widgets.php | 2222 | V |
| deprecated.php | 190130 | V |
| embed-template.php | 338 | V |
| embed.php | 37908 | V |
| error-protection.php | 4121 | V |
| feed-atom-comments.php | 5504 | V |
| feed-atom.php | 3048 | V |
| feed-rdf.php | 2668 | V |
| feed-rss.php | 1189 | V |
| feed-rss2-comments.php | 4136 | V |
| feed-rss2.php | 3799 | V |
| feed.php | 23411 | V |
| fonts | - | |
| fonts.php | 9751 | V |
| formatting.php | 335229 | V |
| functions.php | 283163 | V |
| functions.wp-scripts.php | 14558 | V |
| functions.wp-styles.php | 8583 | V |
| general-template.php | 169492 | V |
| global-styles-and-settings.php | 21205 | V |
| html-api | - | |
| http.php | 25312 | V |
| https-detection.php | 5661 | V |
| https-migration.php | 4741 | V |
| images | - | |
| interactivity-api | - | |
| js | - | |
| kses.php | 74403 | V |
| l10n | - | |
| l10n.php | 68415 | V |
| link-template.php | 157710 | V |
| load.php | 55658 | V |
| locale.php | 162 | V |
| media-template.php | 63043 | V |
| media.php | 218424 | V |
| meta.php | 64409 | V |
| ms-blogs.php | 25772 | V |
| ms-default-constants.php | 4921 | V |
| ms-default-filters.php | 6636 | V |
| ms-deprecated.php | 21759 | V |
| ms-files.php | 2711 | V |
| ms-functions.php | 91249 | V |
| ms-load.php | 19883 | V |
| ms-network.php | 3782 | V |
| ms-settings.php | 4124 | V |
| ms-site.php | 40490 | V |
| nav-menu-template.php | 25917 | V |
| nav-menu.php | 44373 | V |
| option.php | 101759 | V |
| php-compat | - | |
| pluggable-deprecated.php | 6263 | V |
| pluggable.php | 115970 | V |
| plugin.php | 35465 | V |
| pomo | - | |
| post-formats.php | 7102 | V |
| post-template.php | 66880 | V |
| post-thumbnail-template.php | 10826 | V |
| post.php | 289894 | V |
| query.php | 37035 | V |
| registration-functions.php | 200 | V |
| registration.php | 200 | V |
| rest-api | - | |
| rest-api.php | 99593 | V |
| revision.php | 30890 | V |
| rewrite.php | 19541 | V |
| robots-template.php | 5185 | V |
| rss-functions.php | 255 | V |
| rss.php | 23113 | V |
| script-loader.php | 130735 | V |
| script-modules.php | 7712 | V |
| session.php | 258 | V |
| shortcodes.php | 24051 | V |
| sitemaps | - | |
| sitemaps.php | 3238 | V |
| sodium_compat | - | |
| spl-autoload-compat.php | 441 | V |
| style-engine | - | |
| style-engine.php | 7563 | V |
| taxonomy.php | 175438 | V |
| template-canvas.php | 544 | V |
| template-loader.php | 3012 | V |
| template.php | 24154 | V |
| theme-compat | - | |
| theme-i18n.json | 1292 | V |
| theme-previews.php | 2832 | V |
| theme-templates.php | 6223 | V |
| theme.json | 8704 | V |
| theme.php | 133985 | V |
| update.php | 36788 | V |
| user.php | 174410 | V |
| vars.php | 6489 | V |
| version.php | 931 | V |
| widgets | - | |
| widgets.php | 70682 | V |
| wp-db.php | 445 | V |
| wp-diff.php | 726 | V |