kses_allowed_protocols

kses_allowed_protocols

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('kses_allowed_protocols') is found 1 times:

  • /wp-includes/functions.php line 7173
    7169
    7170
    7171
    7172
    7173
    7174
    7175
    7176
    7177
    7178
    7179
             * @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;
    }
     
    /**