Forums

how to remove these actions via functions.php ?? (2 posts)

  1. 5imix4kankin
    Member
    Posted 2 years ago #

    how remove this action (Plugin: SimpleModal Login) via functions.php ??

    add_filter('loginout', array(&$this, 'simplemodal_login_loginout'));
    add_action('wp_footer', array($this, 'simplemodal_login_footer'));
    add_action('wp_print_styles', array(&$this, 'simplemodal_login_css'));
    add_action('wp_print_scripts', array(&$this, 'simplemodal_login_js'));

    I try this, but not working:
    remove_filter('loginout', 'simplemodal_login_loginout');
    remove_action('wp_footer', 'simplemodal_login_footer');
    remove_action('wp_print_styles','simplemodal_login_css');
    remove_action('wp_print_scripts', 'simplemodal_login_js');

  2. Eric Martin
    Member
    Posted 2 years ago #

    Out of curiosity, what are you trying to do? It appears that you are removing all functionality, so why are you using the plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic