wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
xmlrpc_allow_post_type_writes › WordPress Filter Hooks
Da7.1.1
Deprecaton/a
› apply_filters( 'xmlrpc_allow_post_type_writes', ! $is_internal_only, $post_type )
| Parametri: (2) |
|
| Definito a: |
|
| Codex: |
Filters whether a post type accepts writes via XML-RPC.
Defaults to false for internal-only builtin post types (public=false, show_in_rest=false, _builtin=true), such as customize_changeset, whose writes are meant to flow through dedicated helpers. Return true to opt a post type back in.Funzioni correlate: xmlrpc_getposttitle, get_all_post_type_supports, is_post_type_archive, rest_get_route_for_post_type_items, create_initial_post_types, get_post_type_capabilities