• Hi,

    I’ve got a frontend post editor set on my WP site and I’d like the get_edit_post_link to redirect the user to this frontend editor (not the usual backend one).

    Is this possible?

    A. Mayer

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You could use a .htaccess rewrite rule. A PHP only approach would involve altering the links themselves unless you can find a hook early enough to send a PHP location header. As soon as any HTML output occurs it’s too late. Altering the links in the admin menu involves editing the global menu definition array $submenu. Other links would need to be addressed on a case by case basis. I recall the new post link at the top of some admin screens cannot be cleanly altered at all by PHP. In such cases, jQuery could be used to alter the link.

Viewing 1 replies (of 1 total)
  • The topic ‘Change “edit_post_link” destination link’ is closed to new replies.