tags:

views:

31

answers:

1

I want to set the Tag of a Wordpress Hook dynamically with a passed variable:

from

add_action('thesis_hook_multimedia_box', 'feat_listings');

to

add_action($tb_featured_listings_hook, 'feat_listings');

This doesn't work, but it sure looks like it should...

A: 

Figured it out.

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