wp_prepare_attachment_for_js()
Function: Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model.
Source: wp-includes/media.php:3076
Function: Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model.
Source: wp-includes/media.php:3076
Filter Hook: Filters the media view strings.
Source: wp-includes/media.php:3637
Function: Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
Source: wp-includes/media.php:3311
Action Hook: Fires at the conclusion of wp_enqueue_media().
Source: wp-includes/media.php:3665
Function: Retrieves media attached to the passed post.
Source: wp-includes/media.php:3677
Filter Hook: Filters arguments used to retrieve media attached to the given post.
Source: wp-includes/media.php:3699
Function: Check the content blob for an audio, video, object, embed, or iframe tags.
Source: wp-includes/media.php:3724
Filter Hook: Filters the list of media attached to the given post.
Source: wp-includes/media.php:3712
Function: Retrieves galleries from the passed post’s content.
Source: wp-includes/media.php:3766
Filter Hook: Filters the embedded media types that are allowed to be returned from the content blob.
Source: wp-includes/media.php:3735