wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
xmlrpc_allow_post_type_writes › Filtr WordPress Hooks
Od7.1.1
Przestarzałyn/a
› apply_filters( 'xmlrpc_allow_post_type_writes', ! $is_internal_only, $post_type )
| Parametry: (2) |
|
| Zdefiniowane na: |
|
| 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.Powiązane Funkcje: 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