Skip to content

atmosphere_syncable_post_types

github-actions[bot] edited this page May 19, 2026 · 1 revision

Filters the post types that support ATmosphere publishing.

Runs after the option and native add_post_type_support() opt-ins are merged, so plugins can add or remove either source.

Auto-generated Example

/**
 * Filters the post types that support ATmosphere publishing.
 * 
 * Runs after the option and native `add_post_type_support()`
 * opt-ins are merged, so plugins can add or remove either source.
 *
 * @param Atmosphere\string[] $post_types 
 * @return Atmosphere\string[] The filtered value.
 */
function my_atmosphere_syncable_post_types_callback( Atmosphere\string[] $post_types ) {
    // Your code here.
    return $post_types;
}
add_filter( 'atmosphere_syncable_post_types', 'my_atmosphere_syncable_post_types_callback' );

Parameters

  • Atmosphere\string[] $post_types Post type slugs.

Files

\apply_filters( 'atmosphere_syncable_post_types', $post_types )

← All Hooks

Clone this wiki locally