yan-k
11/16/2016 - 4:17 PM

Allow Editors access to the Redirection tool for the plugin: https://da.wordpress.org/plugins/redirection/

Allow Editors access to the Redirection tool for the plugin: https://da.wordpress.org/plugins/redirection/

<?php

  /**
	 * Redirection Plugin Editor access
	 */
	add_filter( 'redirection_role', 'redirection_to_editor' );
	function redirection_to_editor() {
	    return 'edit_pages';
	}