Make WordPress Core

Changeset 31851


Ignore:
Timestamp:
03/20/2015 07:28:30 PM (12 years ago)
Author:
DrewAPicture
Message:

Add hook documentation for the get_media_embedded_in_content_allowed filter, introduced in [31574].

Props valendesigns.
Fixes #26675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r31645 r31851  
    32223222        $html = array();
    32233223
     3224        /**
     3225         * Filter the embedded media types that are allowed to be returned from the content blob.
     3226         *
     3227         * @since 4.2.0
     3228         *
     3229         * @param array $allowed_media_types An array of allowed media types. Default media types are
     3230         *                                   'audio', 'video', 'object', 'embed', and 'iframe'.
     3231         */
    32243232        $allowed_media_types = apply_filters( 'get_media_embedded_in_content_allowed', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );
    32253233
Note: See TracChangeset for help on using the changeset viewer.