Filter: wpa_show_alt_selector

apply_filters( 'wpa_show_alt_selector', string )

Modify the selector used to attach the alt attribute toggle button on images. Default .hentry img[alt!=""], .comment-content img[alt!=""].

Parameters:
Name Type Description
string

$selector Valid CSS selector string.

Since:
  • 2.0.0
Source:
Returns:

string