AtomParser::is_declared_content_ns() WordPress Method
The AtomParser::is_declared_content_ns() WordPress method is used to check if an Atom content namespace has been declared.
AtomParser::is_declared_content_ns( $new_mapping ) #
Source
File: wp-includes/atomlib.php
function is_declared_content_ns($new_mapping) {
foreach($this->content_ns_contexts as $context) {
foreach($context as $mapping) {
if($new_mapping == $mapping) {
return true;
}
}
}
return false;
}
Expand full source codeCollapse full source codeView on TracView on GitHub