Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/media.php | apply_filters | 216 | /** * Filters whether to disable captions. * * Prevents image captions from being appended to image HTML when inserted into the editor. * * @since 2.6.0 * * @param bool $bool Whether to disable appending captions. Returning true from the filter * will disable captions. Default empty string. */ |
wp-admin/includes/media.php | apply_filters | 2422 | /** * Outputs the legacy media upload form for external media. * * @since 2.7.0 * * @param string $type * @param object $errors * @param int $id */ |
wp-admin/includes/media.php | apply_filters | 2901 | /** * Creates the form for external url. * * @since 2.7.0 * * @param string $default_view * @return string HTML content of the form. */ |
wp-includes/class-wp-editor.php | apply_filters | 557 | /** * Filters the translations loaded for external TinyMCE 3.x plugins. * * The filter takes an associative array ('plugin_name' => 'path') * where 'path' is the include path to the file. * * The language file should follow the same format as wp_mce_translation(), * and should define a variable ($strings) that holds all translated strings. * * @since 2.5.0 * @since 5.3.0 The `$editor_id` parameter was added. * * @param array $translations Translations for external TinyMCE plugins. * @param string $editor_id Unique editor identifier, e.g. 'content'. */ |
wp-includes/media-template.php | apply_filters | 1023 | /** * Prints the templates used in the media manager. * * @since 3.5.0 */ |
wp-includes/media-template.php | apply_filters | 1086 | /** * Prints the templates used in the media manager. * * @since 3.5.0 */ |
wp-includes/media.php | apply_filters | 4517 | /** * Filters whether the Media Library grid has infinite scrolling. Default `false`. * * @since 5.8.0 * * @param bool $infinite Whether the Media Library grid has infinite scrolling. */ |
wp-includes/script-loader.php | apply_filters | 517 | /** * Adds inline scripts required for the TinyMCE in the block editor. * * These TinyMCE init settings are used to extend and override the default settings * from `_WP_Editors::default_settings()` for the Classic block. * * @since 5.0.0 * * @global WP_Scripts $wp_scripts */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $bool | Whether to disable appending captions. Returning true from the filter |
bool | $bool | Whether to disable appending captions. Returning true from the filter |
bool | $bool | Whether to disable appending captions. Returning true from the filter |