Overriding wp_loginout
-
Does anyone know of a way to override the wp_loginout function to allow it to take arguments and process those arguments without modifying the core code? I posted a ticket on the trac but I doubt it’ll get implemented and I would hate to have to change the core code with each update.
I’ve tried creating my wp_loginout function in a themes functions.php but of course it says you cant redeclare a function…This is the function I’m trying to replace it with:
https://hard-wire.pocketwatchmafia.net/loginout_redirect.phps
- The topic ‘Overriding wp_loginout’ is closed to new replies.