
如果解决XAMPP无法正常运行问题
函数/钩子名 | 描述 |
---|---|
get_the_guid (过滤钩子) | get_the_guid。这个函数检索当前文章的全球唯一标识符(GUID)。GUID是一个唯一的标识符,在每个文章创建时被分配给它,用于在各种情况下引用该文章,例如在RSS feeds中。 |
get_the_excerpt (过滤钩子) | get_the_excerpt: 这个函数检索当前文章的摘录。摘录是一篇文章的简短摘要,在某些模板或不需要完整的文章内容的情况下使用。 |
rest_insert_{$this->post_type} (动作钩子) | 在通过REST API创建或更新一个帖子后启动。 钩子名称的动态部分, $this->post_type,指的是文章类型slug。 可能的钩子名称包括: rest_insert_post res |
rest_{$this->post_type}_query (过滤钩子) | Filters WP_Query arguments when querying posts via the REST API. The dynamic portion of the hook nam |
rest_{$this->post_type}_trashable (过滤钩子) | Filters whether a post is trashable. The dynamic portion of the hook name, $this->post_type, refe |
rest_delete_{$this->post_type} (动作钩子) | Fires immediately after a single post is deleted or trashed via the REST API. They dynamic portion o |
rest_prepare_{$this->post_type} (过滤钩子) | Filters the post data for a REST API response. The dynamic portion of the hook name, $this->post_ |
rest_pre_insert_{$this->post_type} (过滤钩子) | Filters a post before it is inserted via the REST API. The dynamic portion of the hook name, $this-& |
rest_query_var-{$key} (过滤钩子) | Filters the query_vars used in get_items() for the constructed query. The dynamic portion of the hoo |
rest_{$this->post_type}_collection_params (过滤钩子) | Filters collection parameters for the posts controller. The dynamic part of the filter $this->pos |
rest_{$this->post_type}_item_schema (过滤钩子) | Filters the post’s schema. The dynamic portion of the filter, $this->post_type, refers to the pos |