Wordpress Hook:动态标签

时间:2010-01-02 21:57:25

标签: wordpress

我想用传递的变量动态设置Tag of a Wordpress Hook

add_action('thesis_hook_multimedia_box', 'feat_listings');

add_action($tb_featured_listings_hook, 'feat_listings');

这不起作用,但看起来确实应该......

1 个答案:

答案 0 :(得分:0)

想出来。

add_action(get_option('tb_featured_listings_hook'), 'feat_listings');