You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page May 19, 2026
·
6 revisions
Filters the content parser used for site.standard.document records.
Return a Content_Parser instance to provide a parser.
Return null to disable the content field entirely.
Auto-generated Example
/** * Filters the content parser used for site.standard.document records. * * Return a Content_Parser instance to provide a parser. * Return null to disable the content field entirely. * * @param Atmosphere\Content_Parser $parser * @param WP_Post $post * @return Atmosphere\Content_Parser The filtered value. */functionmy_atmosphere_content_parser_callback( Atmosphere\Content_Parser$parser = null, WP_Post$post ) {
// Your code here.returnnull;
}
add_filter( 'atmosphere_content_parser', 'my_atmosphere_content_parser_callback', 10, 2 );
Parameters
Atmosphere\Content_Parser|null$parser The content parser. Default: null.