Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('rcl_setup_tabs','my_add_sub_tab',10);
- function my_add_sub_tab(){
- $subtab = array(
- 'id'=> 'subtab-2',
- 'name'=> 'Вкладка 2',
- 'callback'=>array(
- 'name'=>'rcl_custom_tab_content',
- 'args'=>array('dsdsdssdsd')
- )
- );
- rcl_add_sub_tab('parent-tab-id',$subtab);
- }
Add Comment
Please, Sign In to add comment