GRAYBYTE WORDPRESS FILE MANAGER7073

Server IP : 149.255.58.128 / Your IP : 216.73.216.28
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/mobilityscootereftalia.com/wp-includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/mobilityscootereftalia.com/wp-includes//embed.php
<?php
/**
 * oEmbed API: Top-level oEmbed functionality
 *
 * @package WordPress
 * @subpackage oEmbed
 * @since 4.4.0
 */

/**
 * Registers an embed handler.
 *
 * Should probably only be used for sites that do not support oEmbed.
 *
 * @since 2.9.0
 *
 * @global WP_Embed $wp_embed WordPress Embed object.
 *
 * @param string   $id       An internal ID/name for the handler. Needs to be unique.
 * @param string   $regex    The regex that will be used to see if this handler should be used for a URL.
 * @param callable $callback The callback function that will be called if the regex is matched.
 * @param int      $priority Optional. Used to specify the order in which the registered handlers will
 *                           be tested. Default 10.
 */
function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {
	global $wp_embed;
	$wp_embed->register_handler( $id, $regex, $callback, $priority );
}

/**
 * Unregisters a previously-registered embed handler.
 *
 * @since 2.9.0
 *
 * @global WP_Embed $wp_embed WordPress Embed object.
 *
 * @param string $id       The handler ID that should be removed.
 * @param int    $priority Optional. The priority of the handler to be removed. Default 10.
 */
function wp_embed_unregister_handler( $id, $priority = 10 ) {
	global $wp_embed;
	$wp_embed->unregister_handler( $id, $priority );
}

/**
 * Creates default array of embed parameters.
 *
 * The width defaults to the content width as specified by the theme. If the
 * theme does not specify a content width, then 500px is used.
 *
 * The default height is 1.5 times the width, or 1000px, whichever is smaller.
 *
 * The {@see 'embed_defaults'} filter can be used to adjust either of these values.
 *
 * @since 2.9.0
 *
 * @global int $content_width
 *
 * @param string $url Optional. The URL that should be embedded. Default empty.
 * @return int[] {
 *     Indexed array of the embed width and height in pixels.
 *
 *     @type int $0 The embed width.
 *     @type int $1 The embed height.
 * }
 */
function wp_embed_defaults( $url = '' ) {
	if ( ! empty( $GLOBALS['content_width'] ) ) {
		$width = (int) $GLOBALS['content_width'];
	}

	if ( empty( $width ) ) {
		$width = 500;
	}

	$height = min( (int) ceil( $width * 1.5 ), 1000 );

	/**
	 * Filters the default array of embed dimensions.
	 *
	 * @since 2.9.0
	 *
	 * @param int[]  $size {
	 *     Indexed array of the embed width and height in pixels.
	 *
	 *     @type int $0 The embed width.
	 *     @type int $1 The embed height.
	 * }
	 * @param string $url  The URL that should be embedded.
	 */
	return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url );
}

/**
 * Attempts to fetch the embed HTML for a provided URL using oEmbed.
 *
 * @since 2.9.0
 *
 * @see WP_oEmbed
 *
 * @param string $url  The URL that should be embedded.
 * @param array|string $args {
 *     Optional. Additional arguments for retrieving embed HTML. Default empty.
 *
 *     @type int|string $width    Optional. The `maxwidth` value passed to the provider URL.
 *     @type int|string $height   Optional. The `maxheight` value passed to the provider URL.
 *     @type bool       $discover Optional. Determines whether to attempt to discover link tags
 *                                at the given URL for an oEmbed provider when the provider URL
 *                                is not found in the built-in providers list. Default true.
 * }
 * @return string|false The embed HTML on success, false on failure.
 */
function wp_oembed_get( $url, $args = '' ) {
	$oembed = _wp_oembed_get_object();
	return $oembed->get_html( $url, $args );
}

/**
 * Returns the initialized WP_oEmbed object.
 *
 * @since 2.9.0
 * @access private
 *
 * @return WP_oEmbed object.
 */
function _wp_oembed_get_object() {
	static $wp_oembed = null;

	if ( is_null( $wp_oembed ) ) {
		$wp_oembed = new WP_oEmbed();
	}
	return $wp_oembed;
}

/**
 * Adds a URL format and oEmbed provider URL pair.
 *
 * @since 2.9.0
 *
 * @see WP_oEmbed
 *
 * @param string $format   The format of URL that this provider can handle. You can use asterisks
 *                         as wildcards.
 * @param string $provider The URL to the oEmbed provider.
 * @param bool   $regex    Optional. Whether the `$format` parameter is in a RegEx format. Default false.
 */
function wp_oembed_add_provider( $format, $provider, $regex = false ) {
	if ( did_action( 'plugins_loaded' ) ) {
		$oembed                       = _wp_oembed_get_object();
		$oembed->providers[ $format ] = array( $provider, $regex );
	} else {
		WP_oEmbed::_add_provider_early( $format, $provider, $regex );
	}
}

/**
 * Removes an oEmbed provider.
 *
 * @since 3.5.0
 *
 * @see WP_oEmbed
 *
 * @param string $format The URL format for the oEmbed provider to remove.
 * @return bool Was the provider removed successfully?
 */
function wp_oembed_remove_provider( $format ) {
	if ( did_action( 'plugins_loaded' ) ) {
		$oembed = _wp_oembed_get_object();

		if ( isset( $oembed->providers[ $format ] ) ) {
			unset( $oembed->providers[ $format ] );
			return true;
		}
	} else {
		WP_oEmbed::_remove_provider_early( $format );
	}

	return false;
}

/**
 * Determines if default embed handlers should be loaded.
 *
 * Checks to make sure that the embeds library hasn't already been loaded. If
 * it hasn't, then it will load the embeds library.
 *
 * @since 2.9.0
 *
 * @see wp_embed_register_handler()
 */
function wp_maybe_load_embeds() {
	/**
	 * Filters whether to load the default embed handlers.
	 *
	 * Returning a falsey value will prevent loading the default embed handlers.
	 *
	 * @since 2.9.0
	 *
	 * @param bool $maybe_load_embeds Whether to load the embeds library. Default true.
	 */
	if ( ! apply_filters( 'load_default_embeds', true ) ) {
		return;
	}

	wp_embed_register_handler( 'youtube_embed_url', '#https?://(www.)?youtube\.com/(?:v|embed)/([^/]+)#i', 'wp_embed_handler_youtube' );

	/**
	 * Filters the audio embed handler callback.
	 *
	 * @since 3.6.0
	 *
	 * @param callable $handler Audio embed handler callback function.
	 */
	wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . implode( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 );

	/**
	 * Filters the video embed handler callback.
	 *
	 * @since 3.6.0
	 *
	 * @param callable $handler Video embed handler callback function.
	 */
	wp_embed_register_handler( 'video', '#^https?://.+?\.(' . implode( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 9999 );
}

/**
 * YouTube iframe embed handler callback.
 *
 * Catches YouTube iframe embed URLs that are not parsable by oEmbed but can be translated into a URL that is.
 *
 * @since 4.0.0
 *
 * @global WP_Embed $wp_embed WordPress Embed object.
 *
 * @param array  $matches The RegEx matches from the provided regex when calling
 *                        wp_embed_register_handler().
 * @param array  $attr    Embed attributes.
 * @param string $url     The original URL that was matched by the regex.
 * @param array  $rawattr The original unmodified attributes.
 * @return string The embed HTML.
 */
function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) {
	global $wp_embed;
	$embed = $wp_embed->autoembed( sprintf( 'https://youtube.com/watch?v=%s', urlencode( $matches[2] ) ) );

	/**
	 * Filters the YouTube embed output.
	 *
	 * @since 4.0.0
	 *
	 * @see wp_embed_handler_youtube()
	 *
	 * @param string $embed   YouTube embed output.
	 * @param array  $attr    An array of embed attributes.
	 * @param string $url     The original URL that was matched by the regex.
	 * @param array  $rawattr The original unmodified attributes.
	 */
	return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );
}

/**
 * Audio embed handler callback.
 *
 * @since 3.6.0
 *
 * @param array  $matches The RegEx matches from the provided regex when calling wp_embed_register_handler().
 * @param array  $attr Embed attributes.
 * @param string $url The original URL that was matched by the regex.
 * @param array  $rawattr The original unmodified attributes.
 * @return string The embed HTML.
 */
function wp_embed_handler_audio( $matches, $attr, $url, $rawattr ) {
	$audio = sprintf( '[audio src="%s" /]', esc_url( $url ) );

	/**
	 * Filters the audio embed output.
	 *
	 * @since 3.6.0
	 *
	 * @param string $audio   Audio embed output.
	 * @param array  $attr    An array of embed attributes.
	 * @param string $url     The original URL that was matched by the regex.
	 * @param array  $rawattr The original unmodified attributes.
	 */
	return apply_filters( 'wp_embed_handler_audio', $audio, $attr, $url, $rawattr );
}

/**
 * Video embed handler callback.
 *
 * @since 3.6.0
 *
 * @param array  $matches The RegEx matches from the provided regex when calling wp_embed_register_handler().
 * @param array  $attr    Embed attributes.
 * @param string $url     The original URL that was matched by the regex.
 * @param array  $rawattr The original unmodified attributes.
 * @return string The embed HTML.
 */
function wp_embed_handler_video( $matches, $attr, $url, $rawattr ) {
	$dimensions = '';
	if ( ! empty( $rawattr['width'] ) && ! empty( $rawattr['height'] ) ) {
		$dimensions .= sprintf( 'width="%d" ', (int) $rawattr['width'] );
		$dimensions .= sprintf( 'height="%d" ', (int) $rawattr['height'] );
	}
	$video = sprintf( '[video %s src="%s" /]', $dimensions, esc_url( $url ) );

	/**
	 * Filters the video embed output.
	 *
	 * @since 3.6.0
	 *
	 * @param string $video   Video embed output.
	 * @param array  $attr    An array of embed attributes.
	 * @param string $url     The original URL that was matched by the regex.
	 * @param array  $rawattr The original unmodified attributes.
	 */
	return apply_filters( 'wp_embed_handler_video', $video, $attr, $url, $rawattr );
}

/**
 * Registers the oEmbed REST API route.
 *
 * @since 4.4.0
 */
function wp_oembed_register_route() {
	$controller = new WP_oEmbed_Controller();
	$controller->register_routes();
}

/**
 * Adds oEmbed discovery links in the head element of the website.
 *
 * @since 4.4.0
 * @since 6.8.0 Output was adjusted to only embed if the post supports it.
 */
function wp_oembed_add_discovery_links() {
	$output = '';

	if ( is_singular() && is_post_embeddable() ) {
		$output .= '<link rel="alternate" title="' . _x( 'oEmbed (JSON)', 'oEmbed resource link name' ) . '" type="application/json+oembed" href="' . esc_url( get_oembed_endpoint_url( get_permalink() ) ) . '" />' . "\n";

		if ( class_exists( 'SimpleXMLElement' ) ) {
			$output .= '<link rel="alternate" title="' . _x( 'oEmbed (XML)', 'oEmbed resource link name' ) . '" type="text/xml+oembed" href="' . esc_url( get_oembed_endpoint_url( get_permalink(), 'xml' ) ) . '" />' . "\n";
		}
	}

	/**
	 * Filters the oEmbed discovery links HTML.
	 *
	 * @since 4.4.0
	 *
	 * @param string $output HTML of the discovery links.
	 */
	echo apply_filters( 'oembed_discovery_links', $output );
}

/**
 * Adds the necessary JavaScript to communicate with the embedded iframes.
 *
 * This function is no longer used directly. For back-compat it exists exclusively as a way to indicate that the oEmbed
 * host JS _should_ be added. In `default-filters.php` there remains this code:
 *
 *     add_action( 'wp_head', 'wp_oembed_add_host_js' )
 *
 * Historically a site has been able to disable adding the oEmbed host script by doing:
 *
 *     remove_action( 'wp_head', 'wp_oembed_add_host_js' )
 *
 * In order to ensure that such code still works as expected, this function remains. There is now a `has_action()` check
 * in `wp_maybe_enqueue_oembed_host_js()` to see if `wp_oembed_add_host_js()` has not been unhooked from running at the
 * `wp_head` action.
 *
 * @since 4.4.0
 * @deprecated 5.9.0 Use {@see wp_maybe_enqueue_oembed_host_js()} instead.
 */
function wp_oembed_add_host_js() {}

/**
 * Enqueue the wp-embed script if the provided oEmbed HTML contains a post embed.
 *
 * In order to only enqueue the wp-embed script on pages that actually contain post embeds, this function checks if the
 * provided HTML contains post embed markup and if so enqueues the script so that it will get printed in the footer.
 *
 * @since 5.9.0
 *
 * @param string $html Embed markup.
 * @return string Embed markup (without modifications).
 */
function wp_maybe_enqueue_oembed_host_js( $html ) {
	if (
		has_action( 'wp_head', 'wp_oembed_add_host_js' )
		&&
		preg_match( '/<blockquote\s[^>]*?wp-embedded-content/', $html )
	) {
		wp_enqueue_script( 'wp-embed' );
	}
	return $html;
}

/**
 * Retrieves the URL to embed a specific post in an iframe.
 *
 * @since 4.4.0
 *
 * @param int|WP_Post $post Optional. Post ID or object. Defaults to the current post.
 * @return string|false The post embed URL on success, false if the post doesn't exist.
 */
function get_post_embed_url( $post = null ) {
	$post = get_post( $post );

	if ( ! $post ) {
		return false;
	}

	$embed_url     = trailingslashit( get_permalink( $post ) ) . user_trailingslashit( 'embed' );
	$path_conflict = get_page_by_path( str_replace( home_url(), '', $embed_url ), OBJECT, get_post_types( array( 'public' => true ) ) );

	if ( ! get_option( 'permalink_structure' ) || $path_conflict ) {
		$embed_url = add_query_arg( array( 'embed' => 'true' ), get_permalink( $post ) );
	}

	/**
	 * Filters the URL to embed a specific post.
	 *
	 * @since 4.4.0
	 *
	 * @param string  $embed_url The post embed URL.
	 * @param WP_Post $post      The corresponding post object.
	 */
	return sanitize_url( apply_filters( 'post_embed_url', $embed_url, $post ) );
}

/**
 * Retrieves the oEmbed endpoint URL for a given permalink.
 *
 * Pass an empty string as the first argument to get the endpoint base URL.
 *
 * @since 4.4.0
 *
 * @param string $permalink Optional. The permalink used for the `url` query arg. Default empty.
 * @param string $format    Optional. The requested response format. Default 'json'.
 * @return string The oEmbed endpoint URL.
 */
function get_oembed_endpoint_url( $permalink = '', $format = 'json' ) {
	$url = rest_url( 'oembed/1.0/embed' );

	if ( '' !== $permalink ) {
		$url = add_query_arg(
			array(
				'url'    => urlencode( $permalink ),
				'format' => ( 'json' !== $format ) ? $format : false,
			),
			$url
		);
	}

	/**
	 * Filters the oEmbed endpoint URL.
	 *
	 * @since 4.4.0
	 *
	 * @param string $url       The URL to the oEmbed endpoint.
	 * @param string $permalink The permalink used for the `url` query arg.
	 * @param string $format    The requested response format.
	 */
	return apply_filters( 'oembed_endpoint_url', $url, $permalink, $format );
}

/**
 * Retrieves the embed code for a specific post.
 *
 * @since 4.4.0
 *
 * @param int         $width  The width for the response.
 * @param int         $height The height for the response.
 * @param int|WP_Post $post   Optional. Post ID or object. Default is global `$post`.
 * @return string|false Embed code on success, false if post doesn't exist.
 */
function get_post_embed_html( $width, $height, $post = null ) {
	$post = get_post( $post );

	if ( ! $post ) {
		return false;
	}

	$embed_url = get_post_embed_url( $post );

	$secret     = wp_generate_password( 10, false );
	$embed_url .= "#?secret={$secret}";

	$output = sprintf(
		'<blockquote class="wp-embedded-content" data-secret="%1$s"><a href="%2$s">%3$s</a></blockquote>',
		esc_attr( $secret ),
		esc_url( get_permalink( $post ) ),
		get_the_title( $post )
	);

	$output .= sprintf(
		'<iframe sandbox="allow-scripts" security="restricted" src="%1$s" width="%2$d" height="%3$d" title="%4$s" data-secret="%5$s" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe>',
		esc_url( $embed_url ),
		absint( $width ),
		absint( $height ),
		esc_attr(
			sprintf(
				/* translators: 1: Post title, 2: Site title. */
				__( '&#8220;%1$s&#8221; &#8212; %2$s' ),
				get_the_title( $post ),
				get_bloginfo( 'name' )
			)
		),
		esc_attr( $secret )
	);

	/*
	 * Note that the script must be placed after the <blockquote> and <iframe> due to a regexp parsing issue in
	 * `wp_filter_oembed_result()`. Because of the regex pattern starts with `|(<blockquote>.*?</blockquote>)?.*|`
	 * wherein the <blockquote> is marked as being optional, if it is not at the beginning of the string then the group
	 * will fail to match and everything will be matched by `.*` and not included in the group. This regex issue goes
	 * back to WordPress 4.4, so in order to not break older installs this script must come at the end.
	 */
	$output .= wp_get_inline_script_tag(
		file_get_contents( ABSPATH . WPINC . '/js/wp-embed' . wp_scripts_get_suffix() . '.js' )
	);

	/**
	 * Filters the embed HTML output for a given post.
	 *
	 * @since 4.4.0
	 *
	 * @param string  $output The default iframe tag to display embedded content.
	 * @param WP_Post $post   Current post object.
	 * @param int     $width  Width of the response.
	 * @param int     $height Height of the response.
	 */
	return apply_filters( 'embed_html', $output, $post, $width, $height );
}

/**
 * Retrieves the oEmbed response data for a given post.
 *
 * @since 4.4.0
 * @since 6.8.0 Output was adjusted to only embed if the post type supports it.
 *
 * @param WP_Post|int $post  Post ID or post object.
 * @param int         $width The requested width.
 * @return array|false Response data on success, false if post doesn't exist,
 *                     is not publicly viewable or post type is not embeddable.
 */
function get_oembed_response_data( $post, $width ) {
	$post  = get_post( $post );
	$width = absint( $width );

	if ( ! $post ) {
		return false;
	}

	if ( ! is_post_publicly_viewable( $post ) ) {
		return false;
	}

	if ( ! is_post_embeddable( $post ) ) {
		return false;
	}

	/**
	 * Filters the allowed minimum and maximum widths for the oEmbed response.
	 *
	 * @since 4.4.0
	 *
	 * @param array $min_max_width {
	 *     Minimum and maximum widths for the oEmbed response.
	 *
	 *     @type int $min Minimum width. Default 200.
	 *     @type int $max Maximum width. Default 600.
	 * }
	 */
	$min_max_width = apply_filters(
		'oembed_min_max_width',
		array(
			'min' => 200,
			'max' => 600,
		)
	);

	$width  = min( max( $min_max_width['min'], $width ), $min_max_width['max'] );
	$height = max( (int) ceil( $width / 16 * 9 ), 200 );

	$data = array(
		'version'       => '1.0',
		'provider_name' => get_bloginfo( 'name' ),
		'provider_url'  => get_home_url(),
		'author_name'   => get_bloginfo( 'name' ),
		'author_url'    => get_home_url(),
		'title'         => get_the_title( $post ),
		'type'          => 'link',
	);

	$author = get_userdata( $post->post_author );

	if ( $author ) {
		$data['author_name'] = $author->display_name;
		$data['author_url']  = get_author_posts_url( $author->ID );
	}

	/**
	 * Filters the oEmbed response data.
	 *
	 * @since 4.4.0
	 *
	 * @param array   $data   The response data.
	 * @param WP_Post $post   The post object.
	 * @param int     $width  The requested width.
	 * @param int     $height The calculated height.
	 */
	return apply_filters( 'oembed_response_data', $data, $post, $width, $height );
}


/**
 * Retrieves the oEmbed response data for a given URL.
 *
 * @since 5.0.0
 *
 * @param string $url  The URL that should be inspected for discovery `<link>` tags.
 * @param array  $args oEmbed remote get arguments.
 * @return object|false oEmbed response data if the URL does belong to the current site. False otherwise.
 */
function get_oembed_response_data_for_url( $url, $args ) {
	$switched_blog = false;

	if ( is_multisite() ) {
		$url_parts = wp_parse_args(
			wp_parse_url( $url ),
			array(
				'host' => '',
				'port' => null,
				'path' => '/',
			)
		);

		$qv = array(
			'domain'                 => $url_parts['host'] . ( $url_parts['port'] ? ':' . $url_parts['port'] : '' ),
			'path'                   => '/',
			'update_site_meta_cache' => false,
		);

		// In case of subdirectory configs, set the path.
		if ( ! is_subdomain_install() ) {
			$path = explode( '/', ltrim( $url_parts['path'], '/' ) );
			$path = reset( $path );

			if ( $path ) {
				$qv['path'] = get_network()->path . $path . '/';
			}
		}

		$sites = get_sites( $qv );
		$site  = reset( $sites );

		// Do not allow embeds for deleted/archived/spam sites.
		if ( ! empty( $site->deleted ) || ! empty( $site->spam ) || ! empty( $site->archived ) ) {
			return false;
		}

		if ( $site && get_current_blog_id() !== (int) $site->blog_id ) {
			switch_to_blog( $site->blog_id );
			$switched_blog = true;
		}
	}

	$post_id = url_to_postid( $url );

	/** This filter is documented in wp-includes/class-wp-oembed-controller.php */
	$post_id = apply_filters( 'oembed_request_post_id', $post_id, $url );

	if ( ! $post_id ) {
		if ( $switched_blog ) {
			restore_current_blog();
		}

		return false;
	}

	$width = isset( $args['width'] ) ? $args['width'] : 0;

	$data = get_oembed_response_data( $post_id, $width );

	if ( $switched_blog ) {
		restore_current_blog();
	}

	return $data ? (object) $data : false;
}


/**
 * Filters the oEmbed response data to return an iframe embed code.
 *
 * @since 4.4.0
 *
 * @param array   $data   The response data.
 * @param WP_Post $post   The post object.
 * @param int     $width  The requested width.
 * @param int     $height The calculated height.
 * @return array The modified response data.
 */
function get_oembed_response_data_rich( $data, $post, $width, $height ) {
	$data['width']  = absint( $width );
	$data['height'] = absint( $height );
	$data['type']   = 'rich';
	$data['html']   = get_post_embed_html( $width, $height, $post );

	// Add post thumbnail to response if available.
	$thumbnail_id = false;

	if ( has_post_thumbnail( $post->ID ) ) {
		$thumbnail_id = get_post_thumbnail_id( $post->ID );
	}

	if ( 'attachment' === get_post_type( $post ) ) {
		if ( wp_attachment_is_image( $post ) ) {
			$thumbnail_id = $post->ID;
		} elseif ( wp_attachment_is( 'video', $post ) ) {
			$thumbnail_id = get_post_thumbnail_id( $post );
			$data['type'] = 'video';
		}
	}

	if ( $thumbnail_id ) {
		list( $thumbnail_url, $thumbnail_width, $thumbnail_height ) = wp_get_attachment_image_src( $thumbnail_id, array( $width, 0 ) );
		$data['thumbnail_url']                                      = $thumbnail_url;
		$data['thumbnail_width']                                    = $thumbnail_width;
		$data['thumbnail_height']                                   = $thumbnail_height;
	}

	return $data;
}

/**
 * Ensures that the specified format is either 'json' or 'xml'.
 *
 * @since 4.4.0
 *
 * @param string $format The oEmbed response format. Accepts 'json' or 'xml'.
 * @return string The format, either 'xml' or 'json'. Default 'json'.
 */
function wp_oembed_ensure_format( $format ) {
	if ( ! in_array( $format, array( 'json', 'xml' ), true ) ) {
		return 'json';
	}

	return $format;
}

/**
 * Hooks into the REST API output to print XML instead of JSON.
 *
 * This is only done for the oEmbed API endpoint,
 * which supports both formats.
 *
 * @access private
 * @since 4.4.0
 *
 * @param bool             $served  Whether the request has already been served.
 * @param WP_HTTP_Response $result  Result to send to the client. Usually a `WP_REST_Response`.
 * @param WP_REST_Request  $request Request used to generate the response.
 * @param WP_REST_Server   $server  Server instance.
 * @return true
 */
function _oembed_rest_pre_serve_request( $served, $result, $request, $server ) {
	$params = $request->get_params();

	if ( '/oembed/1.0/embed' !== $request->get_route() || 'GET' !== $request->get_method() ) {
		return $served;
	}

	if ( ! isset( $params['format'] ) || 'xml' !== $params['format'] ) {
		return $served;
	}

	// Embed links inside the request.
	$data = $server->response_to_data( $result, false );

	if ( ! class_exists( 'SimpleXMLElement' ) ) {
		status_header( 501 );
		die( get_status_header_desc( 501 ) );
	}

	$result = _oembed_create_xml( $data );

	// Bail if there's no XML.
	if ( ! $result ) {
		status_header( 501 );
		return get_status_header_desc( 501 );
	}

	if ( ! headers_sent() ) {
		$server->send_header( 'Content-Type', 'text/xml; charset=' . get_option( 'blog_charset' ) );
	}

	echo $result;

	return true;
}

/**
 * Creates an XML string from a given array.
 *
 * @since 4.4.0
 * @access private
 *
 * @param array            $data The original oEmbed response data.
 * @param SimpleXMLElement $node Optional. XML node to append the result to recursively.
 * @return string|false XML string on success, false on error.
 */
function _oembed_create_xml( $data, $node = null ) {
	if ( ! is_array( $data ) || empty( $data ) ) {
		return false;
	}

	if ( null === $node ) {
		$node = new SimpleXMLElement( '<oembed></oembed>' );
	}

	foreach ( $data as $key => $value ) {
		if ( is_numeric( $key ) ) {
			$key = 'oembed';
		}

		if ( is_array( $value ) ) {
			$item = $node->addChild( $key );
			_oembed_create_xml( $value, $item );
		} else {
			$node->addChild( $key, esc_html( $value ) );
		}
	}

	return $node->asXML();
}

/**
 * Filters the given oEmbed HTML to make sure iframes have a title attribute.
 *
 * @since 5.2.0
 *
 * @param string $result The oEmbed HTML result.
 * @param object $data   A data object result from an oEmbed provider.
 * @param string $url    The URL of the content to be embedded.
 * @return string The filtered oEmbed result.
 */
function wp_filter_oembed_iframe_title_attribute( $result, $data, $url ) {
	if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ), true ) ) {
		return $result;
	}

	$title = ! empty( $data->title ) ? $data->title : '';

	$pattern = '`<iframe([^>]*)>`i';
	if ( preg_match( $pattern, $result, $matches ) ) {
		$attrs = wp_kses_hair( $matches[1], wp_allowed_protocols() );

		foreach ( $attrs as $attr => $item ) {
			$lower_attr = strtolower( $attr );
			if ( $lower_attr === $attr ) {
				continue;
			}
			if ( ! isset( $attrs[ $lower_attr ] ) ) {
				$attrs[ $lower_attr ] = $item;
				unset( $attrs[ $attr ] );
			}
		}
	}

	if ( ! empty( $attrs['title']['value'] ) ) {
		$title = $attrs['title']['value'];
	}

	/**
	 * Filters the title attribute of the given oEmbed HTML iframe.
	 *
	 * @since 5.2.0
	 *
	 * @param string $title  The title attribute.
	 * @param string $result The oEmbed HTML result.
	 * @param object $data   A data object result from an oEmbed provider.
	 * @param string $url    The URL of the content to be embedded.
	 */
	$title = apply_filters( 'oembed_iframe_title_attribute', $title, $result, $data, $url );

	if ( '' === $title ) {
		return $result;
	}

	if ( isset( $attrs['title'] ) ) {
		unset( $attrs['title'] );
		$attr_string = implode( ' ', wp_list_pluck( $attrs, 'whole' ) );
		$result      = str_replace( $matches[0], '<iframe ' . trim( $attr_string ) . '>', $result );
	}
	return str_ireplace( '<iframe ', sprintf( '<iframe title="%s" ', esc_attr( $title ) ), $result );
}


/**
 * Filters the given oEmbed HTML.
 *
 * If the `$url` isn't on the trusted providers list,
 * we need to filter the HTML heavily for security.
 *
 * Only filters 'rich' and 'video' response types.
 *
 * @since 4.4.0
 *
 * @param string $result The oEmbed HTML result.
 * @param object $data   A data object result from an oEmbed provider.
 * @param string $url    The URL of the content to be embedded.
 * @return string The filtered and sanitized oEmbed result.
 */
function wp_filter_oembed_result( $result, $data, $url ) {
	if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ), true ) ) {
		return $result;
	}

	$wp_oembed = _wp_oembed_get_object();

	// Don't modify the HTML for trusted providers.
	if ( false !== $wp_oembed->get_provider( $url, array( 'discover' => false ) ) ) {
		return $result;
	}

	$allowed_html = array(
		'a'          => array(
			'href' => true,
		),
		'blockquote' => array(),
		'iframe'     => array(
			'src'          => true,
			'width'        => true,
			'height'       => true,
			'frameborder'  => true,
			'marginwidth'  => true,
			'marginheight' => true,
			'scrolling'    => true,
			'title'        => true,
		),
	);

	$html = wp_kses( $result, $allowed_html );

	preg_match( '|(<blockquote>.*?</blockquote>)?.*(<iframe.*?></iframe>)|ms', $html, $content );
	// We require at least the iframe to exist.
	if ( empty( $content[2] ) ) {
		return false;
	}
	$html = $content[1] . $content[2];

	preg_match( '/ src=([\'"])(.*?)\1/', $html, $results );

	if ( ! empty( $results ) ) {
		$secret = wp_generate_password( 10, false );

		$url = esc_url( "{$results[2]}#?secret=$secret" );
		$q   = $results[1];

		$html = str_replace( $results[0], ' src=' . $q . $url . $q . ' data-secret=' . $q . $secret . $q, $html );
		$html = str_replace( '<blockquote', "<blockquote data-secret=\"$secret\"", $html );
	}

	$allowed_html['blockquote']['data-secret'] = true;
	$allowed_html['iframe']['data-secret']     = true;

	$html = wp_kses( $html, $allowed_html );

	if ( ! empty( $content[1] ) ) {
		// We have a blockquote to fall back on. Hide the iframe by default.
		$html = str_replace( '<iframe', '<iframe style="position: absolute; visibility: hidden;"', $html );
		$html = str_replace( '<blockquote', '<blockquote class="wp-embedded-content"', $html );
	}

	$html = str_ireplace( '<iframe', '<iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"', $html );

	return $html;
}

/**
 * Filters the string in the 'more' link displayed after a trimmed excerpt.
 *
 * Replaces '[...]' (appended to automatically generated excerpts) with an
 * ellipsis and a "Continue reading" link in the embed template.
 *
 * @since 4.4.0
 *
 * @param string $more_string Default 'more' string.
 * @return string 'Continue reading' link prepended with an ellipsis.
 */
function wp_embed_excerpt_more( $more_string ) {
	if ( ! is_embed() ) {
		return $more_string;
	}

	$link = sprintf(
		'<a href="%1$s" class="wp-embed-more" target="_top">%2$s</a>',
		esc_url( get_permalink() ),
		/* translators: %s: Post title. */
		sprintf( __( 'Continue reading %s' ), '<span class="screen-reader-text">' . get_the_title() . '</span>' )
	);
	return ' &hellip; ' . $link;
}

/**
 * Displays the post excerpt for the embed template.
 *
 * Intended to be used in 'The Loop'.
 *
 * @since 4.4.0
 */
function the_excerpt_embed() {
	$output = get_the_excerpt();

	/**
	 * Filters the post excerpt for the embed template.
	 *
	 * @since 4.4.0
	 *
	 * @param string $output The current post excerpt.
	 */
	echo apply_filters( 'the_excerpt_embed', $output );
}

/**
 * Filters the post excerpt for the embed template.
 *
 * Shows players for video and audio attachments.
 *
 * @since 4.4.0
 *
 * @param string $content The current post excerpt.
 * @return string The modified post excerpt.
 */
function wp_embed_excerpt_attachment( $content ) {
	if ( is_attachment() ) {
		return prepend_attachment( '' );
	}

	return $content;
}

/**
 * Enqueues embed iframe default CSS and JS.
 *
 * Enqueue PNG fallback CSS for embed iframe for legacy versions of IE.
 *
 * Allows plugins to queue scripts for the embed iframe end using wp_enqueue_script().
 * Runs first in oembed_head().
 *
 * @since 4.4.0
 */
function enqueue_embed_scripts() {
	wp_enqueue_style( 'wp-embed-template-ie' );

	/**
	 * Fires when scripts and styles are enqueued for the embed iframe.
	 *
	 * @since 4.4.0
	 */
	do_action( 'enqueue_embed_scripts' );
}

/**
 * Enqueues the CSS in the embed iframe header.
 *
 * @since 6.4.0
 */
function wp_enqueue_embed_styles() {
	// Back-compat for plugins that disable functionality by unhooking this action.
	if ( ! has_action( 'embed_head', 'print_embed_styles' ) ) {
		return;
	}
	remove_action( 'embed_head', 'print_embed_styles' );

	$suffix = wp_scripts_get_suffix();
	$handle = 'wp-embed-template';
	wp_register_style( $handle, false );
	wp_add_inline_style( $handle, file_get_contents( ABSPATH . WPINC . "/css/wp-embed-template$suffix.css" ) );
	wp_enqueue_style( $handle );
}

/**
 * Prints the JavaScript in the embed iframe header.
 *
 * @since 4.4.0
 */
function print_embed_scripts() {
	wp_print_inline_script_tag(
		file_get_contents( ABSPATH . WPINC . '/js/wp-embed-template' . wp_scripts_get_suffix() . '.js' )
	);
}

/**
 * Prepare the oembed HTML to be displayed in an RSS feed.
 *
 * @since 4.4.0
 * @access private
 *
 * @param string $content The content to filter.
 * @return string The filtered content.
 */
function _oembed_filter_feed_content( $content ) {
	$p = new WP_HTML_Tag_Processor( $content );
	while ( $p->next_tag( array( 'tag_name' => 'iframe' ) ) ) {
		if ( $p->has_class( 'wp-embedded-content' ) ) {
			$p->remove_attribute( 'style' );
		}
	}
	return $p->get_updated_html();
}

/**
 * Prints the necessary markup for the embed comments button.
 *
 * @since 4.4.0
 */
function print_embed_comments_button() {
	if ( is_404() || ! ( get_comments_number() || comments_open() ) ) {
		return;
	}
	?>
	<div class="wp-embed-comments">
		<a href="<?php comments_link(); ?>" target="_top">
			<span class="dashicons dashicons-admin-comments"></span>
			<?php
			printf(
				/* translators: %s: Number of comments. */
				_n(
					'%s <span class="screen-reader-text">Comment</span>',
					'%s <span class="screen-reader-text">Comments</span>',
					get_comments_number()
				),
				number_format_i18n( get_comments_number() )
			);
			?>
		</a>
	</div>
	<?php
}

/**
 * Prints the necessary markup for the embed sharing button.
 *
 * @since 4.4.0
 */
function print_embed_sharing_button() {
	if ( is_404() ) {
		return;
	}
	?>
	<div class="wp-embed-share">
		<button type="button" class="wp-embed-share-dialog-open" aria-label="<?php esc_attr_e( 'Open sharing dialog' ); ?>">
			<span class="dashicons dashicons-share"></span>
		</button>
	</div>
	<?php
}

/**
 * Prints the necessary markup for the embed sharing dialog.
 *
 * @since 4.4.0
 */
function print_embed_sharing_dialog() {
	if ( is_404() ) {
		return;
	}

	$unique_suffix            = get_the_ID() . '-' . wp_rand();
	$share_tab_wordpress_id   = 'wp-embed-share-tab-wordpress-' . $unique_suffix;
	$share_tab_html_id        = 'wp-embed-share-tab-html-' . $unique_suffix;
	$description_wordpress_id = 'wp-embed-share-description-wordpress-' . $unique_suffix;
	$description_html_id      = 'wp-embed-share-description-html-' . $unique_suffix;
	?>
	<div class="wp-embed-share-dialog hidden" role="dialog" aria-label="<?php esc_attr_e( 'Sharing options' ); ?>">
		<div class="wp-embed-share-dialog-content">
			<div class="wp-embed-share-dialog-text">
				<ul class="wp-embed-share-tabs" role="tablist">
					<li class="wp-embed-share-tab-button wp-embed-share-tab-button-wordpress" role="presentation">
						<button type="button" role="tab" aria-controls="<?php echo $share_tab_wordpress_id; ?>" aria-selected="true" tabindex="0"><?php esc_html_e( 'WordPress Embed' ); ?></button>
					</li>
					<li class="wp-embed-share-tab-button wp-embed-share-tab-button-html" role="presentation">
						<button type="button" role="tab" aria-controls="<?php echo $share_tab_html_id; ?>" aria-selected="false" tabindex="-1"><?php esc_html_e( 'HTML Embed' ); ?></button>
					</li>
				</ul>
				<div id="<?php echo $share_tab_wordpress_id; ?>" class="wp-embed-share-tab" role="tabpanel" aria-hidden="false">
					<input type="text" value="<?php the_permalink(); ?>" class="wp-embed-share-input" aria-label="<?php esc_attr_e( 'URL' ); ?>" aria-describedby="<?php echo $description_wordpress_id; ?>" tabindex="0" readonly/>

					<p class="wp-embed-share-description" id="<?php echo $description_wordpress_id; ?>">
						<?php _e( 'Copy and paste this URL into your WordPress site to embed' ); ?>
					</p>
				</div>
				<div id="<?php echo $share_tab_html_id; ?>" class="wp-embed-share-tab" role="tabpanel" aria-hidden="true">
					<textarea class="wp-embed-share-input" aria-label="<?php esc_attr_e( 'HTML' ); ?>" aria-describedby="<?php echo $description_html_id; ?>" tabindex="0" readonly><?php echo esc_textarea( get_post_embed_html( 600, 400 ) ); ?></textarea>

					<p class="wp-embed-share-description" id="<?php echo $description_html_id; ?>">
						<?php _e( 'Copy and paste this code into your site to embed' ); ?>
					</p>
				</div>
			</div>

			<button type="button" class="wp-embed-share-dialog-close" aria-label="<?php esc_attr_e( 'Close sharing dialog' ); ?>">
				<span class="dashicons dashicons-no"></span>
			</button>
		</div>
	</div>
	<?php
}

/**
 * Prints the necessary markup for the site title in an embed template.
 *
 * @since 4.5.0
 */
function the_embed_site_title() {
	$site_title = sprintf(
		'<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon" /><span>%s</span></a>',
		esc_url( home_url() ),
		esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
		esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
		esc_html( get_bloginfo( 'name' ) )
	);

	$site_title = '<div class="wp-embed-site-title">' . $site_title . '</div>';

	/**
	 * Filters the site title HTML in the embed footer.
	 *
	 * @since 4.4.0
	 *
	 * @param string $site_title The site title HTML.
	 */
	echo apply_filters( 'embed_site_title_html', $site_title );
}

/**
 * Filters the oEmbed result before any HTTP requests are made.
 *
 * If the URL belongs to the current site, the result is fetched directly instead of
 * going through the oEmbed discovery process.
 *
 * @since 4.5.3
 *
 * @param null|string $result The UNSANITIZED (and potentially unsafe) HTML that should be used to embed. Default null.
 * @param string      $url    The URL that should be inspected for discovery `<link>` tags.
 * @param array       $args   oEmbed remote get arguments.
 * @return null|string The UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
 *                     Null if the URL does not belong to the current site.
 */
function wp_filter_pre_oembed_result( $result, $url, $args ) {
	$data = get_oembed_response_data_for_url( $url, $args );

	if ( $data ) {
		return _wp_oembed_get_object()->data2html( $data, $url );
	}

	return $result;
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 22 2025 21:14:42
1032 / wheelch2
0755
ID3
--
October 16 2024 01:01:17
1032 / wheelch2
0755
IXR
--
October 16 2024 01:01:17
1032 / wheelch2
0755
PHPMailer
--
October 16 2024 01:01:17
1032 / wheelch2
0755
Requests
--
October 16 2024 01:01:17
1032 / wheelch2
0755
SimplePie
--
November 13 2024 04:45:47
1032 / wheelch2
0755
Text
--
November 13 2024 04:45:47
1032 / wheelch2
0755
assets
--
November 13 2024 04:45:47
1032 / wheelch2
0755
block-bindings
--
October 16 2024 01:01:17
1032 / wheelch2
0755
block-patterns
--
October 16 2024 01:01:17
1032 / wheelch2
0755
block-supports
--
April 16 2025 03:38:58
1032 / wheelch2
0755
blocks
--
April 16 2025 03:38:58
1032 / wheelch2
0755
certificates
--
October 16 2024 01:01:17
1032 / wheelch2
0755
css
--
April 16 2025 03:38:58
1032 / wheelch2
0755
customize
--
October 16 2024 01:01:17
1032 / wheelch2
0755
fonts
--
October 16 2024 01:01:17
1032 / wheelch2
0755
html-api
--
November 13 2024 04:45:47
1032 / wheelch2
0755
images
--
October 16 2024 01:01:17
1032 / wheelch2
0755
interactivity-api
--
October 16 2024 01:01:17
1032 / wheelch2
0755
js
--
October 16 2024 01:01:17
1032 / wheelch2
0755
l10n
--
October 16 2024 01:01:17
1032 / wheelch2
0755
php-compat
--
October 16 2024 01:01:17
1032 / wheelch2
0755
pomo
--
October 16 2024 01:01:17
1032 / wheelch2
0755
rest-api
--
October 16 2024 01:01:17
1032 / wheelch2
0755
sitemaps
--
October 16 2024 01:01:17
1032 / wheelch2
0755
sodium_compat
--
October 16 2024 01:01:17
1032 / wheelch2
0755
style-engine
--
October 16 2024 01:01:17
1032 / wheelch2
0755
theme-compat
--
October 16 2024 01:01:17
1032 / wheelch2
0755
widgets
--
October 16 2024 01:01:17
1032 / wheelch2
0755
wp-backup
--
May 20 2025 03:29:06
1032 / wheelch2
0755
.htaccess
0 KB
March 26 2025 13:57:35
1032 / wheelch2
0444
admin-bar.php
36.236 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
atomlib.php
11.795 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
author-template.php
18.507 KB
May 14 2023 17:58:24
1032 / wheelch2
0644
block-bindings.php
5.463 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
block-editor.php
28.122 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
block-i18n.json
0.309 KB
August 11 2021 09:08:01
1032 / wheelch2
0644
block-patterns.php
12.903 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
block-template-utils.php
60.456 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
block-template.php
14.996 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
blocks.php
109.113 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
bookmark-template.php
12.469 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
bookmark.php
15.065 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
cache-compat.php
5.829 KB
October 10 2022 18:22:11
1032 / wheelch2
0644
cache.php
13.158 KB
October 10 2022 18:22:11
1032 / wheelch2
0644
canonical.php
33.714 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
capabilities.php
41.717 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
category-template.php
55.667 KB
September 26 2023 00:27:12
1032 / wheelch2
0644
category.php
12.528 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-IXR.php
2.555 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-avif-info.php
28.921 KB
May 08 2024 05:41:43
1032 / wheelch2
0644
class-feed.php
0.526 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-http.php
0.358 KB
June 17 2022 11:20:13
1032 / wheelch2
0644
class-json.php
42.66 KB
February 03 2023 13:35:20
1032 / wheelch2
0644
class-oembed.php
0.392 KB
June 17 2022 11:20:13
1032 / wheelch2
0644
class-phpass.php
6.612 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-phpmailer.php
0.648 KB
July 21 2020 12:58:02
1032 / wheelch2
0644
class-pop3.php
20.626 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-requests.php
2.185 KB
April 05 2023 13:12:26
1032 / wheelch2
0644
class-simplepie.php
0.442 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-smtp.php
0.446 KB
January 26 2021 13:45:57
1032 / wheelch2
0644
class-snoopy.php
36.831 KB
February 03 2023 13:35:20
1032 / wheelch2
0644
class-walker-category-dropdown.php
2.411 KB
September 14 2023 12:46:20
1032 / wheelch2
0644
class-walker-category.php
8.278 KB
September 08 2023 09:32:23
1032 / wheelch2
0644
class-walker-comment.php
13.888 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-walker-nav-menu.php
11.762 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-walker-page-dropdown.php
2.646 KB
September 14 2023 12:46:20
1032 / wheelch2
0644
class-walker-page.php
7.434 KB
September 14 2023 12:46:20
1032 / wheelch2
0644
class-wp-admin-bar.php
17.455 KB
July 24 2024 23:07:25
1032 / wheelch2
0644
class-wp-ajax-response.php
5.143 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-application-passwords.php
16.698 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-block-bindings-registry.php
8.265 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-block-bindings-source.php
2.922 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-block-editor-context.php
1.318 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-block-list.php
4.646 KB
November 02 2023 00:04:24
1032 / wheelch2
0644
class-wp-block-metadata-registry.php
11.616 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-block-parser-block.php
2.495 KB
June 27 2023 00:45:38
1032 / wheelch2
0644
class-wp-block-parser-frame.php
1.97 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-block-parser.php
11.262 KB
October 16 2023 19:17:19
1032 / wheelch2
0644
class-wp-block-pattern-categories-registry.php
5.245 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-block-patterns-registry.php
10.53 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-block-styles-registry.php
6.253 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-block-supports.php
5.494 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-block-template.php
1.985 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-block-templates-registry.php
7.062 KB
February 12 2025 04:39:10
1032 / wheelch2
0644
class-wp-block-type-registry.php
4.896 KB
October 12 2023 12:34:33
1032 / wheelch2
0644
class-wp-block-type.php
16.86 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-block.php
22.501 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-classic-to-block-menu-converter.php
3.992 KB
August 21 2023 17:51:19
1032 / wheelch2
0644
class-wp-comment-query.php
47.261 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-comment.php
9.216 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-control.php
25.245 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-manager.php
197.845 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-nav-menus.php
56.066 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-panel.php
10.459 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-section.php
10.946 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-customize-setting.php
29.26 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-customize-widgets.php
70.518 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-date-query.php
34.895 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-dependencies.php
14.784 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-dependency.php
2.565 KB
November 25 2022 15:12:16
1032 / wheelch2
0644
class-wp-duotone.php
39.827 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-editor.php
70.64 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
class-wp-embed.php
15.558 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-error.php
7.326 KB
February 21 2023 16:39:19
1032 / wheelch2
0644
class-wp-exception.php
0.247 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-fatal-error-handler.php
7.959 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-feed-cache-transient.php
3.102 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-feed-cache.php
0.946 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-hook.php
15.625 KB
September 18 2023 12:41:18
1032 / wheelch2
0644
class-wp-http-cookie.php
7.216 KB
June 24 2023 17:17:23
1032 / wheelch2
0644
class-wp-http-curl.php
12.247 KB
September 21 2023 18:29:12
1032 / wheelch2
0644
class-wp-http-encoding.php
6.532 KB
June 22 2023 14:57:24
1032 / wheelch2
0644
class-wp-http-ixr-client.php
3.419 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-http-proxy.php
5.84 KB
June 22 2023 14:36:26
1032 / wheelch2
0644
class-wp-http-requests-hooks.php
1.975 KB
December 15 2022 21:32:17
1032 / wheelch2
0644
class-wp-http-requests-response.php
4.297 KB
October 11 2023 07:05:25
1032 / wheelch2
0644
class-wp-http-response.php
2.907 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-http-streams.php
16.464 KB
September 21 2023 18:29:12
1032 / wheelch2
0644
class-wp-http.php
40.604 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-image-editor-gd.php
19.689 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-image-editor-imagick.php
33.921 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-image-editor.php
17.116 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-list-util.php
7.269 KB
February 27 2024 22:38:15
1032 / wheelch2
0644
class-wp-locale-switcher.php
6.617 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-locale.php
16.487 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-matchesmapregex.php
1.785 KB
February 06 2024 01:25:14
1032 / wheelch2
0644
class-wp-meta-query.php
29.815 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-metadata-lazyloader.php
6.673 KB
May 11 2023 11:15:24
1032 / wheelch2
0644
class-wp-navigation-fallback.php
8.995 KB
October 06 2023 14:06:22
1032 / wheelch2
0644
class-wp-network-query.php
19.392 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-network.php
12.008 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-object-cache.php
17.113 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-oembed-controller.php
6.743 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-oembed.php
30.909 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-paused-extensions-storage.php
4.991 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-phpmailer.php
3.713 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-plugin-dependencies.php
24.722 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-post-type.php
29.961 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-post.php
6.336 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-query.php
154.319 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-recovery-mode-cookie-service.php
6.716 KB
October 04 2022 03:59:13
1032 / wheelch2
0644
class-wp-recovery-mode-email-service.php
10.921 KB
May 02 2023 15:45:22
1032 / wheelch2
0644
class-wp-recovery-mode-key-service.php
4.77 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-recovery-mode-link-service.php
3.382 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-recovery-mode.php
11.185 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-rewrite.php
62.195 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-role.php
2.464 KB
September 08 2023 09:32:23
1032 / wheelch2
0644
class-wp-roles.php
8.385 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-script-modules.php
19.007 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-scripts.php
27.68 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-session-tokens.php
7.147 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-simplepie-file.php
3.328 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-simplepie-sanitize-kses.php
1.865 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-site-query.php
30.884 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-site.php
7.279 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-speculation-rules.php
7.351 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-styles.php
10.752 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-tax-query.php
19.097 KB
February 16 2024 21:47:12
1032 / wheelch2
0644
class-wp-taxonomy.php
18.124 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-term-query.php
39.911 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-term.php
5.174 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-text-diff-renderer-inline.php
0.956 KB
February 14 2024 19:27:09
1032 / wheelch2
0644
class-wp-text-diff-renderer-table.php
18.438 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-textdomain-registry.php
10.235 KB
November 22 2024 04:47:45
1032 / wheelch2
0644
class-wp-theme-json-data.php
1.767 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-theme-json-resolver.php
34.9 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-theme-json-schema.php
7.194 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
class-wp-theme-json.php
159.712 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-theme.php
64.268 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-token-map.php
27.947 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
class-wp-url-pattern-prefixer.php
4.689 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-user-meta-session-tokens.php
2.92 KB
January 09 2019 05:04:50
1032 / wheelch2
0644
class-wp-user-query.php
42.632 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-user-request.php
2.251 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-user.php
22.455 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-walker.php
13.01 KB
September 13 2024 19:26:59
1032 / wheelch2
0644
class-wp-widget-factory.php
3.269 KB
September 12 2022 15:47:14
1032 / wheelch2
0644
class-wp-widget.php
17.997 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp-xmlrpc-server.php
210.395 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wp.php
25.701 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class-wpdb.php
115.512 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
class.wp-dependencies.php
0.364 KB
September 20 2022 14:17:12
1032 / wheelch2
0644
class.wp-scripts.php
0.335 KB
September 20 2022 14:17:12
1032 / wheelch2
0644
class.wp-styles.php
0.33 KB
September 20 2022 14:17:12
1032 / wheelch2
0644
comment-template.php
100.471 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
comment.php
128.464 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
compat.php
15.992 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
cron.php
41.658 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
date.php
0.391 KB
June 17 2022 11:20:13
1032 / wheelch2
0644
default-constants.php
11.099 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
default-filters.php
35.837 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
default-widgets.php
2.241 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
deprecated.php
187.073 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
embed-template.php
0.33 KB
June 17 2022 11:20:13
1032 / wheelch2
0644
embed.php
37.277 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
error-protection.php
4.024 KB
May 02 2023 15:45:22
1032 / wheelch2
0644
error_log
29.523 KB
May 17 2025 01:21:04
1032 / wheelch2
0644
feed-atom-comments.php
5.375 KB
March 04 2024 12:41:10
1032 / wheelch2
0644
feed-atom.php
3.048 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
feed-rdf.php
2.605 KB
January 29 2020 00:45:18
1032 / wheelch2
0644
feed-rss.php
1.161 KB
January 29 2020 00:45:18
1032 / wheelch2
0644
feed-rss2-comments.php
4.039 KB
March 04 2024 12:41:10
1032 / wheelch2
0644
feed-rss2.php
3.71 KB
January 29 2020 00:45:18
1032 / wheelch2
0644
feed.php
22.862 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
fonts.php
9.522 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
formatting.php
334.239 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
functions.php
280.807 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
functions.wp-scripts.php
14.217 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
functions.wp-styles.php
8.382 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
general-template.php
168.455 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
global-styles-and-settings.php
20.763 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
http.php
24.719 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
https-detection.php
5.72 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
https-migration.php
4.63 KB
July 10 2023 22:38:25
1032 / wheelch2
0644
kses.php
72.727 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
l10n.php
66.924 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
link-template.php
154.103 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
load.php
55.117 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
locale.php
0.158 KB
October 08 2019 17:19:04
1032 / wheelch2
0644
media-template.php
61.582 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
media.php
215.115 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
meta.php
63.714 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
ms-blogs.php
25.239 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
ms-default-constants.php
4.806 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
ms-default-filters.php
6.48 KB
February 24 2023 01:23:20
1032 / wheelch2
0644
ms-deprecated.php
21.249 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
ms-files.php
2.68 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
ms-functions.php
89.436 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
ms-load.php
19.417 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
ms-network.php
3.693 KB
May 02 2023 11:26:24
1032 / wheelch2
0644
ms-settings.php
4.099 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
ms-site.php
40.352 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
nav-menu-template.php
25.381 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
nav-menu.php
43.333 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
option.php
100.649 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
pluggable-deprecated.php
6.176 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
pluggable.php
119.824 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
plugin.php
34.634 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
post-formats.php
6.936 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
post-template.php
67.039 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
post-thumbnail-template.php
10.624 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
post.php
284.875 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
query.php
36.167 KB
October 16 2024 00:59:28
1032 / wheelch2
0644
registration-functions.php
0.195 KB
November 12 2020 11:17:07
1032 / wheelch2
0644
registration.php
0.195 KB
November 12 2020 11:17:07
1032 / wheelch2
0644
rest-api.php
97.907 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
revision.php
30.021 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
rewrite.php
19.083 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
robots-template.php
5.063 KB
April 06 2022 15:33:03
1032 / wheelch2
0644
rss-functions.php
0.249 KB
November 16 2020 22:52:05
1032 / wheelch2
0644
rss.php
22.571 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
script-loader.php
130.139 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
script-modules.php
7.531 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
session.php
0.252 KB
February 06 2020 06:33:11
1032 / wheelch2
0644
shortcodes.php
23.487 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
sitemaps.php
3.162 KB
October 16 2024 00:59:28
1032 / wheelch2
0644
speculative-loading.php
8.357 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
spl-autoload-compat.php
0.431 KB
November 12 2020 11:17:07
1032 / wheelch2
0644
style-engine.php
7.386 KB
October 16 2024 00:59:28
1032 / wheelch2
0644
taxonomy.php
172.097 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
template-canvas.php
0.531 KB
October 01 2023 00:22:27
1032 / wheelch2
0644
template-loader.php
2.941 KB
October 19 2024 05:02:42
1032 / wheelch2
0444
template.php
23.588 KB
February 21 2024 19:26:08
1032 / wheelch2
0644
theme-i18n.json
1.49 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme-previews.php
2.766 KB
December 08 2023 06:32:24
1032 / wheelch2
0644
theme-templates.php
6.092 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme.json
8.5 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
theme.php
131.155 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
update.php
36.624 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
user.php
171.702 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
vars.php
6.408 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
version.php
1.064 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
widgets.php
69.062 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
wp-db.php
0.435 KB
July 21 2022 22:45:11
1032 / wheelch2
0644
wp-diff.php
0.78 KB
April 16 2025 03:38:58
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF