How to use Oriented Object concept in add_filter
or add_action
with priority and number of parameters?
This is possible without additional parameters:
add_filter('wp_get_attachment_image_src', array($this, 'useCDN');
With parameters this is possible? How to?