WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about script_loader_src

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 5803 /**
* Filters the extension of the emoji SVG files.
*
* @since 4.6.0
*
* @param string $extension The emoji extension for svg files. Default .svg.
*/
wp-includes/formatting.php apply_filters 5805 /**
* Filters the extension of the emoji SVG files.
*
* @since 4.6.0
*
* @param string $extension The emoji extension for svg files. Default .svg.
*/
wp-includes/formatting.php apply_filters 5810 /**
* Filters the extension of the emoji SVG files.
*
* @since 4.6.0
*
* @param string $extension The emoji extension for svg files. Default .svg.
*/
wp-includes/class-wp-scripts.php apply_filters 334 /**
* Filters the script loader source.
*
* @since 2.2.0
*
* @param string $src Script loader source path.
* @param string $handle Script handle.
*/
wp-includes/class-wp-scripts.php apply_filters 387 /**
* Filters the script loader source.
*
* @since 2.2.0
*
* @param string $src Script loader source path.
* @param string $handle Script handle.
*/
wp-includes/script-loader.php apply_filters 194 /**
* Returns contents of an inline script used in appending polyfill scripts for
* browsers which fail the provided tests. The provided array is a mapping from
* a condition to verify feature support to its polyfill script handle.
*
* @since 5.0.0
*
* @param WP_Scripts $scripts WP_Scripts object.
* @param string[] $tests Features to detect.
* @return string Conditional polyfill inline script.
*/

Hook Parameters

Parameter Type Name Description
string $src Script loader source path.
string $handle Script handle.
string $src Script loader source path.
string $handle Script handle.