Fork me on GitHub



next_ad_int_loaded() : void

since 2.1.8 Is called after NADI is loaded and has been registered any hooks.


You can remove any of NADI's registered hook after this action has been called. To remove e.g. the link "Log in with SSO" link from the log in form, you can write your own hook:

add_action('next_ad_int_loaded', 'my_sso_link_removal_action');
function my_sso_link_removal_action() {
	remove_action('login_form', array(next_ad_int()->getSsoPage(), 'generateLoginFooter'), 1);