kses_allowed_protocols

kses_allowed_protocols

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('kses_allowed_protocols') is found 1 times:

  • /wp-includes/functions.php line 7132
    		 * @since 3.0.0
    		 *
    		 * @param string[] $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more.
    		 */
    		$protocols = array_unique( (array) apply_filters( 'kses_allowed_protocols', $protocols ) );
    	}
    
    	return $protocols;
    }
    
    /**