^ 回到顶部
  • 人生没有定律,每个人都有自己的节奏
  • 本站wordpress建站教程均通过实践后发布,希望对你有帮助
  • 希望你的坚持,都是因为热爱,而不是因为不甘心
  • 5年wordpress建站经验,5星服务品质
  • 那些不愿意让你吃亏的人,才是真正值得你深交的人,也是值得你付出时间的人
  • 阿里云1核2g仅需102元/年,今日10点开抢

wordpress函数Functions用法示例

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

让小雨知道,这篇文章帮到了你
扫码关注微信公众号zs40086(微搜片)随时随地微信看片,抢先福利电影等你来

热门推荐

如有疑问,请前往问答中心反馈!

反馈