datukagri
Forum Replies Created
-
add: My another custom tab, which I insert a wp datatable, I have a URL Button inside the table, which is clicked and open new tab to another link, but the concat function unable to perform. It show error. Please help T.T
add: The form that im using is gravity form and i realise the custom form validation messages also missing. But another form validation messages is working fine. Not sure whats happening. That is my code below
add_filter('um_account_page_default_tabs_hook', 'my_custom_tab_in_um_apply_leave', 100 ); function my_custom_tab_in_um_apply_leave( $tabs ) { $tabs[800]['mytab2']['icon'] = 'um-faicon-hand-o-left'; $tabs[800]['mytab2']['title'] = 'Apply Leave'; $tabs[800]['mytab2']['custom'] = true; $tabs[800]['mytab2']['show_button'] = false; return $tabs; } /* make our new tab hookable */ add_action('um_account_tab__mytab2', 'um_account_tab__mytab_apply_leave'); function um_account_tab__mytab_apply_leave( $info ) { global $ultimatemember; extract( $info ); $output = $ultimatemember->account->get_tab_output('mytab2'); if ( $output ) { echo $output; } } /* Finally we add some content in the tab */ add_filter('um_account_content_hook_mytab2', 'um_account_content_hook_mytab_apply_leave'); function um_account_content_hook_mytab_apply_leave( $output ){ return do_shortcode("[take_leave]"); }
Hi, i have solve it myself adding this
$tabs[800]['mytab2']['show_button'] = false;
Asap thanks
- This reply was modified 2 years, 3 months ago by datukagri.
Thanks, i reset the reinstall the plugin now it working fine
hi @aswingiri is there anyway to reset the plugin to original? I tried delete and reinstall but it remain what i’ve changed.
Hi @aswingiri , i have done what you told but still the same. The account page isnt going to profile edit.