function tk_register_option_groups() { global $tk_option_groups; if (count($tk_option_groups) > 0) { foreach ($tk_option_groups as $option_group) { tk_register_wp_option_group($option_group); } } }
function sp_register_post_metabox_form() { tk_register_wp_option_group('sp_post_metabox'); }