Anthony
Anthony

Reputation: 667

Wordpress Thesis Theme Custom Function

I am curious to know what the '1' in the following code means?

add_action('thesis_hook_footer','my_widgetized_footer','1');

Many Thanks

Upvotes: 0

Views: 119

Answers (1)

Kyle G
Kyle G

Reputation: 54

It tells how important your function is. Alter this to make your function be called before or after other functions. The default is 10, so (for example) setting it to 5 would make it run earlier and setting it to 12 would make it run later.

Upvotes: 1

Related Questions