WPDev.one
Core Function
View Source on Trac ↗

_wp_kses_allow_pdf_objects()

_wp_kses_allow_pdf_objects( mixed $url )

Helper function to check if this is a safe PDF URL.

Parameters 1 required

Name / Type Description
$url
string

The URL to check.

Required

Return Value

(bool)
True if the URL is safe, false otherwise.

Function Information

Since Version
5.9.0
Source File
wp-includes/kses.php
Advertisement