wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_insert_post_empty_content › WordPress Filter Hooks
Seit3.3.0
Veraltetn/v
› apply_filters( 'wp_insert_post_empty_content', $maybe_empty, $postarr )
| Parameter: (2) |
|
| Definiert in: |
|
| Codex: |
Filters whether the post should be considered "empty".
The post is considered "empty" if both: 1. The post type supports the title, editor, and excerpt fields 2. The title, editor, and excerpt fields are all empty Returning a truthy value from the filter will effectively short-circuit the new post being inserted and return 0. If $wp_error is true, a WP_Error will be returned instead.Ähnliche Funktionen: wp_insert_attachment, wp_insert_comment, wp_insert_post, _wp_filter_post_meta_footnotes, wp_set_post_cats, _insert_into_post_button
Ähnliche Hooks: wp_insert_post_parent, widget_text_content, wp_insert_post_data, wp_insert_comment, wp_insert_post