attachment_innerHTML
Usage
add_filter( 'attachment_innerHTML', 'wp_kama_attachment_innerHTML_filter', 10, 2 ); /** * Function for `attachment_innerHTML` filter-hook. * * @param $innerHTML * @param $ID * * @return */ function wp_kama_attachment_innerHTML_filter( $innerHTML, $ID ){ // filter... return $innerHTML; }
- $innerHTML
- -
- $ID
- -
Where the hook is called
attachment_innerHTML
wp-includes/deprecated.php 2006
return apply_filters('attachment_innerHTML', $innerHTML, $post->ID);