end_fetch_post_thumbnail_html
The WordPress Core end fetch post thumbnail html hook.
Description
Parameters (1)
- 0. $wp_post_thumbnail_class_filter_remove (string) =>
'_wp_post_thumbnail_class_filter_remove'
- The
wp
post thumbnail class filter remove.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'end_fetch_post_thumbnail_html', $wp_post_thumbnail_class_filter_remove );
- The following example is for adding a hook callback.
- // define the end_fetch_post_thumbnail_html callback
- function action_end_fetch_post_thumbnail_html( $wp_post_thumbnail_class_filter_remove ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'end_fetch_post_thumbnail_html', 'action_end_fetch_post_thumbnail_html', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'end_fetch_post_thumbnail_html', 'action_end_fetch_post_thumbnail_html', 10, 1 );
Defined (2)
The action is defined in the following location(s).
- /wp-includes/default-filters.php
- add_action( 'end_fetch_post_thumbnail_html', '_wp_post_thumbnail_class_filter_remove' );
- /wp-includes/post-thumbnail-template.php
- do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );