Filters the script loader source.
$srcstring$handlestringwp-includes/class-wp-scripts.php:374WP_Scripts::do_item()wp-includes/class-wp-scripts.php:420WP_Scripts::do_item()wp-includes/formatting.php:5977_print_emoji_detection_script()wp-includes/formatting.php:5979_print_emoji_detection_script()wp-includes/formatting.php:5984_print_emoji_detection_script()wp-includes/script-loader.php:200wp_get_script_polyfill() * * @since 2.2.0 * * @param string $src Script loader source path. * @param string $handle Script handle. */ $filtered_src = apply_filters( 'script_loader_src', $src, $handle ); if ( $this->in_default_dir( $filtered_src ) && ( $before_script || $after_script || $translations_stop_concat || $this->is_delayed_strategy( $strategy ) ) ) { $this->do_concat = false;Introduced in 2.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.