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

    (@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.
    http://codex.wordpress.org/Function_Reference/add_filter

    Plugin Author Chad Butler

    (@cbutlerjr)

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

    add_filter( 'wpmem_login_links', 'custom_login_links' );

    scioto_sam

    (@scioto_sam)

    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.