Support » Plugin: WP-Members: Membership Framework » [Plugin: WP-Members] add_filter ‘wpmem_login_links’ not working

Viewing 3 replies - 1 through 3 (of 3 total)
  • jevets


    Try sending more arguments to add_filter:

    add_filter( ‘wpmem_login_links’, ‘custom_login_links’ , 10, 1);

    The last 1 tells the system to send 1 argument to the callback.

    Plugin Author Chad Butler


    Check the single quotes in add_filter. They do not appear to be encoded properly.

    add_filter( 'wpmem_login_links', 'custom_login_links' );



    Jevets – thanks for the reference…
    Chad – Great plugin & thanks for all the hard work. You are right about the single quotes! I changed them and the login page now shows the additional links.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Members] add_filter ‘wpmem_login_links’ not working’ is closed to new replies.