Functions - WordPress 函数参考中文文档

返回介绍

Functions

发布于 2017-09-10 字数7470 浏览 1035 评论 0

absint()

Function: Convert a value to non-negative integer.

源代码: wp-includes/functions.php:3785

Used by 106 functions |
Uses 0 functions

activate_plugin()

Function: Attempts activation of plugin in a “sandbox” and redirects on success.

源代码: wp-admin/includes/plugin.php:539

Used by 1 function |
Uses 18 functions

activate_plugins()

Function: Activate multiple plugins.

源代码: wp-admin/includes/plugin.php:744

Used by 0 functions |
Uses 5 functions

activate_sitewide_plugin()

Function: Deprecated functionality for activating a network-only plugin.

源代码: wp-admin/includes/ms-deprecated.php:52

Used by 0 functions |
Uses 1 function

addslashes_gpc()

Function: Adds slashes to escape strings.

源代码: wp-includes/formatting.php:2408

Used by 1 function |
Uses 1 function

add_action()

Function: Hooks a function on to a specific action.

源代码: wp-includes/plugin.php:398

Used by 66 functions |
Uses 1 function

add_blog_option()

Function: Add a new option for a given blog id.

源代码: wp-includes/ms-blogs.php:703

Used by 0 functions |
Uses 4 functions

add_clean_index()

Function: Adds an index to a specified table.

源代码: wp-admin/includes/upgrade.php:1958

Used by 0 functions |
Uses 2 functions

add_comments_page()

Function: Add submenu page to the Comments main menu.

源代码: wp-admin/includes/plugin.php:1405

Used by 0 functions |
Uses 1 function

add_comment_meta()

Function: Add meta data field to a comment.

源代码: wp-includes/comment.php:425

Used by 3 functions |
Uses 1 function

add_contextual_help()

Function: Add contextual help text for a page.

源代码: wp-admin/includes/deprecated.php:976

Used by 0 functions |
Uses 3 functions

add_cssclass()

Function:

源代码: wp-admin/includes/menu.php:187

Used by 1 function |
Uses 0 functions

add_custom_background()

Function: Add callbacks for background image display.

源代码: wp-includes/deprecated.php:3011

Used by 0 functions |
Uses 2 functions

add_custom_image_header()

Function: Add callbacks for image header display.

源代码: wp-includes/deprecated.php:2975

Used by 0 functions |
Uses 2 functions

add_dashboard_page()

Function: Add submenu page to the Dashboard main menu.

源代码: wp-admin/includes/plugin.php:1305

Used by 0 functions |
Uses 1 function

add_editor_style()

Function: Add callback for custom TinyMCE editor stylesheets.

源代码: wp-includes/theme.php:1840

Used by 0 functions |
Uses 3 functions

add_existing_user_to_blog()

Function: Add a user to a blog based on details from maybe_add_existing_user_to_blog().

源代码: wp-includes/ms-functions.php:2076

Used by 1 function |
Uses 4 functions

add_feed()

Function: Add a new feed type like /atom1/.

源代码: wp-includes/rewrite.php:244

Used by 0 functions |
Uses 2 functions

add_filter()

Function: Hook a function or method to a specific filter action.

源代码: wp-includes/plugin.php:106

Used by 81 functions |
Uses 0 functions

add_image_size()

Function: Register a new image size.

源代码: wp-includes/media.php:277

Used by 1 function |
Uses 1 function

add_link()

Function: Add a link to using values provided in $_POST.

源代码: wp-admin/includes/bookmark.php:16

Used by 0 functions |
Uses 1 function

add_links_page()

Function: Add submenu page to the Links main menu.

源代码: wp-admin/includes/plugin.php:1365

Used by 0 functions |
Uses 1 function

add_magic_quotes()

Function: Walks the array while sanitizing the contents.

源代码: wp-includes/functions.php:904

Used by 4 functions |
Uses 1 function

add_management_page()

Function: Add submenu page to the Tools main menu.

源代码: wp-admin/includes/plugin.php:1202

Used by 0 functions |
Uses 1 function

add_media_page()

Function: Add submenu page to the Media main menu.

源代码: wp-admin/includes/plugin.php:1345

Used by 0 functions |
Uses 1 function

add_menu_classes()

Function:

源代码: wp-admin/includes/menu.php:197

Used by 0 functions |
Uses 3 functions

add_menu_page()

Function: Add a top-level menu page.

源代码: wp-admin/includes/plugin.php:1074

Used by 2 functions |
Uses 6 functions

add_meta()

Function: Add post meta data defined in $_POST superglobal for post with given ID.

源代码: wp-admin/includes/post.php:807

Used by 3 functions |
Uses 5 functions

add_metadata()

Function: Add metadata for the specified object.

源代码: wp-includes/meta.php:30

Used by 6 functions |
Uses 15 functions

add_meta_box()

Function: Adds a meta box to one or more screens.

源代码: wp-admin/includes/template.php:908

Used by 6 functions |
Uses 3 functions

上一篇:add_thickbox()

下一篇:add_user()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!