Skip to content

atmosphere_long_form_composition

github-actions[bot] edited this page Jul 7, 2026 · 16 revisions

Filters the long-form composition strategy for this post.

Auto-generated Example

/**
 * Filters the long-form composition strategy for this post.
 *
 * @param string  $strategy 
 * @param WP_Post $post 
 * @return string The filtered value.
 */
function my_atmosphere_long_form_composition_callback( string $strategy, WP_Post $post ) {
    // Your code here.
    return $strategy;
}
add_filter( 'atmosphere_long_form_composition', 'my_atmosphere_long_form_composition_callback', 10, 2 );

Parameters

  • string $strategy Composition strategy key.
  • WP_Post $post The post being transformed.

Files

\apply_filters( 'atmosphere_long_form_composition', 'link-card', $this->object )
\apply_filters( 'atmosphere_long_form_composition', 'link-card', $this->object )

← All Hooks

Clone this wiki locally