常用函数(中)
评论,Ping和Trackback相关函数 这些函数在comment.php,functions.php,po…
评论,Ping和Trackback相关函数
这些函数在comment.php,functions.php,post.php中。参见模板标签。
- paginate_comments_links
- previous_comments_link
- next_comments_link
- check_comment
- get_approved_comments
- get_comment
- get_lastcommentmodified
- sanitize_comment_cookies
- wp_allow_comment
- wp_delete_comment
- wp_get_comment_status
- wp_get_current_commenter
- wp_insert_comment
- wp_filter_comment
- wp_throttle_comment_flood
- wp_new_comment
- wp_set_comment_status
- wp_update_comment
- wp_update_comment_count
- discover_pingback_server_uri
- do_all_pings
- do_trackbacks
- generic_ping
- pingback
- privacy_ping_filter
- trackback
- weblog_ping
- do_enclose
- add_ping
- get_enclosed
- get_pung
- get_to_ping
- trackback_url_list
动作,过滤器和插件相关函数
这些函数在plugin.php中。参见插件API。
- add_filter
- apply_filters
- merge_filters
- remove_filter
- add_action
- do_action
- did_action
- do_action_ref_array
- remove_action
- plugin_basename
- register_activation_hook
- register_deactivation_hook
主题相关函数
这些函数在theme.php中。
- get_stylesheet
- get_stylesheet_directory
- get_stylesheet_directory_uri
- get_stylesheet_uri
- get_locale_stylesheet_uri
- get_template
- get_template_directory
- get_template_directory_uri
- get_theme_data
- get_themes
- get_theme
- get_current_theme
- get_theme_root
- get_theme_root_uri
- get_query_template
- get_404_template
- get_archive_template
- get_author_template
- get_category_template
- get_date_template
- get_home_template
- get_page_template
- get_paged_template
- get_search_template
- get_single_template
- get_attachment_template
- get_comments_popup_template
- load_template
- locale_stylesheet
- preview_theme
- preview_theme_ob_filter
- preview_theme_ob_filter_callback
- validate_current_theme
- switch_theme
- get_theme_mod
- set_theme_mod
- get_header_textcolor
- get_header_image
- header_image
- add_custom_image_header
格式相关函数
这些函数在formatting.php,functions.php,kses.php中。
- wptexturize
- clean_pre
- wpautop
- seems_utf8
- wp_specialchars
- utf8_uri_encode
- remove_accents
- sanitize_file_name
- sanitize_user
- sanitize_title
- sanitize_title_with_dashes
- convert_chars
- funky_javascript_fix
- balanceTags
- force_balance_tags
- format_to_edit
- format_to_post
- zeroise
- backslashit
- trailingslashit
- untrailingslashit
- addslashes_gpc
- stripslashes_deep
- antispambot
- make_clickable
- wp_rel_nofollow
- convert_smilies
- is_email
- wp_iso_descrambler
- popuplinks
- sanitize_email
- ent2ncr
- wp_richedit_pre
- clean_url
- htmlentities2
- js_escape
- attribute_escape
- wp_make_link_relative
- add_magic_quotes
- wp_kses
- wp_kses_hook
- wp_kses_version
- wp_kses_split
- wp_kses_split2
- wp_kses_attr
- wp_kses_hair
- wp_kses_check_attr_val
- wp_kses_bad_protocol
- wp_kses_no_null
- wp_kses_stripslashes
- wp_kses_array_lc
- wp_kses_js_entities
- wp_kses_html_error
- wp_kses_bad_protocol_once
- wp_kses_bad_protocol_once2
- wp_kses_normalize_entities
- wp_kses_normalize_entities2
- wp_kses_decode_entities
- wp_filter_kses
- wp_filter_post_kses
- wp_filter_nohtml_kses
分类:中文手册
类别:WordPress教程、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!