php - Wordpress Redirect on User Edit hook -


I looked through Wordpress hook DB and there was no way to change the page on which a user could edit After the WordPress redirects ... does anyone know about hooks that can do this, or can I accomplish the same thing in some other way?

You can only user-edit.php on wp_redirect Filter;

  function my_user_edit_redirect ($ location) {return admin_url () 'anywhere / else.php'); } Add_action ('load-user-edit.php', create_function ('', 'add_filter ("wp_redirect", "my_user_edit_redirect");'));  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -