[wp-hackers] Passing arguments to filter functions.

Satish Gandham satish.iitg at gmail.com
Mon Feb 28 07:46:15 UTC 2011


See the get_the_post_thumbnail function in the file below

http://core.trac.wordpress.org/browser/tags/3.1/wp-includes/post-thumbnail-template.php

If im using post_thumbnail_html filter

add_filter( 'post_thumbnail_html', 'swift_post_image_html', 10, 3 );

 Is there a way to access the $attr variable swift_post_image_html'() ?


Thanks
Satish Gandham


More information about the wp-hackers mailing list