end_fetch_post_thumbnail_html

The WordPress Core end fetch post thumbnail html hook.

Description

add_action( 'end_fetch_post_thumbnail_html', (string) $wp_post_thumbnail_class_filter_remove ); 

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.
  1. // run the action 
  2. do_action( 'end_fetch_post_thumbnail_html', $wp_post_thumbnail_class_filter_remove ); 
The following example is for adding a hook callback.
  1. // define the end_fetch_post_thumbnail_html callback 
  2. function action_end_fetch_post_thumbnail_html( $wp_post_thumbnail_class_filter_remove ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'end_fetch_post_thumbnail_html', 'action_end_fetch_post_thumbnail_html', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. 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  
  1. add_action( 'end_fetch_post_thumbnail_html', '_wp_post_thumbnail_class_filter_remove' ); 
/wp-includes/post-thumbnail-template.php  
  1. do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );