WordPress开发者和主题制作者的搜索引擎



smilies_src ›

Since2.9.0
已弃用n/a
apply_filters( 'smilies_src', includes_url( "images/smilies/$img" )
参数: (3)
  • (string) $smiley_url URL for the smiley image.
    Required: Yes
  • (string) $img Filename for the smiley image.
    Required: Yes
  • (string) $site_url Site URL, as returned by site_url().
    Required: Yes
定义在:
文档:

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





源码

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