wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_editor_expand › Les Filtres WordPress

Depuis4.1.0
Dépréciéen/a
apply_filters( 'wp_editor_expand', true, $post_type )
Paramètres: (2)
  • (bool) $expand Whether to enable the 'expand' functionality. Default true.
    Requis: Oui
  • (string) $post_type Post type.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to enable the 'expand' functionality in the post editor.





Source

if ( apply_filters( 'wp_editor_expand', true, $post_type ) ) {