The callbacks tag has no wiki summary.
5
votes
1answer
183 views
current_shortcode() - detect currently used shortcode
In a plugin class I want to provide simple fields for public data: email, phone number, Twitter etc. The list can be extended.
See the plugin Public Contact Data on GitHub for details.
To keep the ...
0
votes
1answer
896 views
Update term count using a callback function
With the wp_update_term_count_now, how can I use the update_count_callback to specify my own count. I need to include counts from another database that the current database category is able to ...
0
votes
2answers
40 views
Reference external file as a function
In my functions.php I have the following code:
add_action( 'admin_menu', 'jp_create_admin_pages' );
function jp_create_admin_pages()
{
add_menu_page(
'Members',
'Members',
...