• HackYaaaaa

    (@hackyaaaaa)


    add_login_logout_to_menu', 50, 2 );

    add_login_logout_to_menu', 10, 2 );

    I’ve searched the web & Codex trying to make sense of what these numbers represent.

    Does anyone one know what’s the difference between 50 vs. 10?

    Nobody explains this. Is this some sort of a mystery that never gets explained?

    lol, but seriously, I just want to know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your question is not clear. I assume add_login_logout_to_menu', 50, 2 ); actually means either

    add_filter('add_login_logout_to_menu', 50, 2 );

    or

    add_action('add_login_logout_to_menu', 50, 2 );

    Then those parameters represent the priority and number of accepted arguments, respectively. Read more at add_action() WordPress Codex

    Thread Starter HackYaaaaa

    (@hackyaaaaa)

    ♥♥♥♥ Thank you very much!! ♥♥♥♥♥

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘10, 2 50, 2 driving me nuts!!!’ is closed to new replies.