Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



smilies_src ›

Seit2.9.0
Veraltetn/v
apply_filters( 'smilies_src', includes_url( "images/smilies/$img" )
Parameter: (3)
  • (string) $smiley_url URL for the smiley image.
    Erforderlich: Ja
  • (string) $img Filename for the smiley image.
    Erforderlich: Ja
  • (string) $site_url Site URL, as returned by site_url().
    Erforderlich: Ja
Definiert in:
Codex:

Filters the Smiley image URL before it's used in the image element.





Quellcode

$src_url = apply_filters( 'smilies_src', includes_url( "images/smilies/$img" ), $img, site_url() );