Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
WP_REST_Posts_Controller
protected_title_format
WP_REST_Posts_Controller::protected_title_format PHP Method
WP_REST_Posts_Controller Class Documentation
ファイルを表示
Open project: johnpbloch/wordpress
protected_title_format()
public
method
By default, WordPress will show password protected posts with a title of "Protected: %s", as the REST API communicates the protected status of a post in a machine readable format, we remove the "Protected: " prefix.
public
protected_title_format
( ) :
string
return
string
Protected title format.
public function protected_title_format() { return '%s'; }
WP_REST_Posts_Controller
__construct
can_access_password_content
check_assign_terms_permission
check_create_permission
check_delete_permission
check_is_post_type_allowed
check_read_permission
check_update_permission
create_item
create_item_permissions_check
delete_item
delete_item_permissions_check
get_collection_params
get_item
get_item_permissions_check
get_item_schema
get_items
get_items_permissions_check
handle_featured_media
handle_status_param
handle_template
handle_terms
prepare_date_response
prepare_item_for_database
prepare_item_for_response
prepare_items_query
prepare_links
protected_title_format
register_routes
sanitize_post_statuses
update_item
update_item_permissions_check