WP Meta SEO 开发人员文档
本文档将帮助经验丰富的开发者将其他服务与我们的插件集成。以下是此插件的所有操作和过滤器,如果您需要更多信息,请随时在 专属论坛上提问。 感谢您使用我们的插件!
wpms_add_custom_redirect
添加自定义重定向
参数 :
string nonce
Return :
void
文件内容:
inc/class.metaseo-broken-link-table.php 第 1987 行
wpms_reload_analytics
重新加载分析
参数 :
integer Post IDarray All the datas
Return :
void
文件内容:
inc/class.metaseo-admin.php 第 1929 行
wpms_save_sitemap_settings
保存站点地图设置
参数 :
array Sitemap settings
Return :
void
文件内容:
inc/class.metaseo-sitemap.php 第 2907 行
wpms_scan_link
扫描链接
参数 :
none
Return :
void
文件内容:
inc/class.metaseo-broken-link-table.php 第 1805 行
wpms_submit_sitemap
请提交站点地图,如果博客未公开,请勿发送 ping 请求。.
参数 :
string Sitemap URL
Return :
void
文件内容:
inc/class.metaseo-sitemap.php 第 2624 行
wpms_update_image_name
更新图像名称
参数 :
integer Image IDstring Image new name
Return :
void
文件内容:
inc/class.metaseo-image-list-table.php 第 1901 行
wpms_update_link_follow
更新链接 rel 属性的 follow/nofollow 属性值
参数 :
integer Link IDinteger Link follow
Return :
void
文件内容:
inc/class.metaseo-admin.php 第 2329 行inc/class.metaseo-admin.php 第 2397 行inc/class.metaseo-admin.php 第 2440 行inc/class.metaseo-admin.php 第 2420 行inc/class.metaseo-admin.php 第 2463 行
wpms_update_page_follow
更新页面 robots.txt 的 follow/nofollow 元标签
参数 :
integer Page IDstring Page meta followinteger Page follow value
Return :
void
文件内容:
inc/class.metaseo-admin.php 第 2300 行
wpms_update_page_index
更新页面 robots 元标记的 index/noindex 属性
参数 :
integer Page IDstring Page meta indexinteger Page index value
Return :
void
文件内容:
inc/class.metaseo-admin.php 第 2269 行
调试信息
添加或修改调试信息。插件或主题可能希望在不创建额外管理页面的情况下引入自己的调试信息——它们可以使用此过滤器来添加自己的部分或向现有部分添加更多数据。核心添加的部分的数组键均以 `wp-` 为前缀,插件和主题应使用自己的别名作为前缀,这样既能保持一致性,又能避免键冲突。请注意,数组键用作复制数据的标签。除 `$description` 可以包含内联 HTML 标签(见下文)外,所有字符串都应为纯文本。.
参数 :
array $info Information
Return :
void
文件内容:
jufeedback/ju-check-debug-data.php 第 1066 行
metaseo_manage_options_capability
允许更改用户查看设置页面所需的权限
参数 :
none
Return :
string
文件内容:
inc/class.metaseo-admin.php 第 3875 行
wpms_save_sitemap_xml
在将站点地图保存到 XML 文件之前运行过滤器
参数 :
object The current xml object
Return :
object
文件内容:
inc/class.metaseo-sitemap.php 第 1239 行
wpms_update_image_meta
在更新图像元数据之前进行过滤
参数 :
string Meta valueinteger Image IDstring Meta keyarray Extra informations
Return :
string
文件内容:
inc/class.metaseo-admin.php 第 4534 行inc/class.metaseo-admin.php 第 4552行 inc/class.metaseo-admin.php第 4595 行 inc/class.metaseo-admin.php 第 4625 行inc/class.metaseo-image-list-table.php 第 1617 行inc/class.metaseo-image-list-table.php 第 1637 行
wpmsga_backenditem_uri
允许在发送 API 请求之前更正 URL
参数 :
string URL
Return :
void
文件内容:
inc/class.metaseo-google-analytics.php 第 86 行