Add Redirect Function
-
Hello,
Thanks for this useful plugin. Is there a way to programmatically add redirect rule ?
add_action( ‘before_delete_post’, ‘add_redirect_before_delete’ );
function add_redirect_before_delete($post_id){
// do something to create redirect – Redirection Plugin
}Best Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add Redirect Function’ is closed to new replies.