WPDev.one
Core Function
View Source on Trac ↗

_wp_filter_post_meta_footnotes()

_wp_filter_post_meta_footnotes( mixed $footnotes )

Strips all HTML from the content of footnotes, and sanitizes the ID.

Parameters 1 required

Name / Type Description
$footnotes
string

JSON-encoded string of an array containing the content and ID of each footnote.

Required

Return Value

(string)
Filtered content without any HTML on the footnote content and with the sanitized ID.

Function Information

Since Version
6.3.2
Source File
wp-includes/blocks.php
Advertisement