aioseo_redirects_disable_trashed_posts_suggestions

aioseo_redirects_disable_trashed_posts_suggestions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.5.1

apply_filters('aioseo_redirects_disable_trashed_posts_suggestions') is found 1 times:

  • /app/Common/Admin/Admin.php line 1147
    	 * @return array           The modified messages.
    	 */
    	public function appendTrashedMessage( $messages ) {
    		// Let advanced users override this.
    		if ( apply_filters( 'aioseo_redirects_disable_trashed_posts_suggestions', false ) ) {
    			return $messages;
    		}
    
    		if ( function_exists( 'aioseoRedirects' ) && aioseoRedirects()->options->monitor->trash ) {
    			return $messages;
    		}