WP Meta SEO开发人员文档
本文档将帮助有经验的开发人员使用我们的插件插入任何其他服务。 这是此插件的所有操作和过滤器,如果您需要更多,请随时使用此 专用论坛 询问。 感谢您使用我们的插件!
wpms_add_custom_redirect
添加自定义重定向
参数:
string nonce
Return :
void
在文件中:
inc/class.metaseo-broken-link-table.php 行 1987
wpms_reload_analytics
重新加载分析
参数:
integer Post ID
array All the datas
Return :
void
在文件中:
公司/class.metaseo-admin.php 1929 行
wpms_save_sitemap_settings
保存站点地图设置
参数:
array Sitemap settings
Return :
void
在文件中:
inc/class.metaseo-sitemap.php 第 2899 行
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 第 2616 行
wpms_update_image_name
更新图片名称
参数:
integer Image ID
string Image new name
Return :
void
在文件中:
inc/class.metaseo-image-list-table.php 第 1883 行
wpms_update_link_follow
更新链接的rel属性的follow / nofollow
参数:
integer Link ID
integer 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
更新页面的漫游器meta标签的关注/ nofollow
参数:
integer Page ID
string Page meta follow
integer Page follow value
Return :
void
在文件中:
公司/class.metaseo-admin.php 第 2300 行
wpms_update_page_index
更新页面的机器人元标记的索引/无索引
参数:
integer Page ID
string Page meta index
integer Page index value
Return :
void
在文件中:
公司/class.metaseo-admin.php 第 2269 行
debug_information
添加或修改调试信息。
插件或主题可能希望在不创建其他管理页面的情况下引入自己的调试信息,
因此他们可以利用此过滤器来引入自己的部分或向现有部分添加更多数据。
核心添加的部分的数组键均以`wp-'开头,插件和主题应使用其自己的slug作为
前缀,以确保一致性并避免键冲突。
请注意,阵列键用作复制数据的
标签。 除$ description可以包含内联HTML标记(请参阅下文)外,所有字符串均应为纯文本。
参数:
array $info Information
Return :
void
在文件中:
jufeedback/ju-check-debug-data.php 第 1066 行
metaseo_manage_options_capability
允许更改用户需要查看设置页面的功能
参数:
none
Return :
string
在文件中:
公司/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 value
integer Image ID
string Meta key
array Extra informations
Return :
string
在文件中:
inc/class.metaseo-image-list-table.php 第 1599 行
inc/class.metaseo-image-list-table.php 第 1619 行
inc/class.metaseo-admin.php 第 4534 行
inc/class.metaseo-admin.php第 4552 行
inc/class.metaseo-admin.php 第 4595 行
inc/class.metaseo-admin.php 第 4625 行
wpmsga_backenditem_uri
在发送API请求之前允许URL纠正
参数:
string URL
Return :
void
在文件中:
inc/class.metaseo-google-analytics.php 第 86 行