wp_audio_shortcode

wp_audio_shortcode

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_audio_shortcode') is found 1 times:

  • /wp-includes/media.php line 3476
    	 * @param string $audio   Audio file.
    	 * @param int    $post_id Post ID.
    	 * @param string $library Media library used for the audio shortcode.
    	 */
    	return apply_filters( 'wp_audio_shortcode', $html, $atts, $audio, $post_id, $library );
    }
    add_shortcode( 'audio', 'wp_audio_shortcode' );
    
    /**
     * Returns a filtered list of supported video formats.
     *