WordPressのFunctionとTemplate Tagsの一覧(引数つき)

2009/06/13

こんばんは。きんくまです。

@naokomcさんのコメント(書籍この間購入させていただきました。わかりやすかったです!)
http://twitter.com/naokomc/status/2132256628

きっと、FunctionとTemplate Tagsの一覧さえあれば、コードヒントは各エディタ用にすぐに作れる人がたくさんいると思うので、載せておきます。
色んなエディタ用に作っていただき、WordPressが活性化するといいですね。

注)FunctionのClassesは未掲載です。
あと、引数があいまいなものはもたせないで記述してあります。
hoge(よくわかんない形)⇒hoge()

Template Tags

get_header( $name )
get_sidebar( $name )
get_search_form()
comments_template( $file, $separate_comments )
get_footer( $name )
bloginfo('show')
bloginfo_rss('show')
get_bloginfo('show')
get_bloginfo_rss('show')
wp_list_authors('arguments')
wp_list_categories('arguments')
wp_list_pages('arguments')
wp_list_bookmarks('arguments')
wp_list_comments('arguments')
wp_get_archives('arguments')
wp_page_menu('arguments')
wp_dropdown_pages('arguments')
wp_dropdown_categories('arguments')
wp_dropdown_users('arguments')
is_user_logged_in()
wp_login_url( $redirect )
wp_logout_url( $redirect )
wp_lostpassword_url( $redirect )
wp_registration_url()
wp_loginout( $redirect )
wp_register( $before, $after )
the_ID()
the_title( $before, $after, $display )
the_title_rss()
the_title_attribute('arguments')
single_post_title( $prefix, $display )
the_content( $more_link_text, $strip_teaser, $more_file )
the_content_rss('more_link_text', strip_teaser, 'more_file', cut, encode_html)
the_excerpt()
the_excerpt_rss()
wp_link_pages('arguments')
posts_nav_link('sep','prelabel','nxtlabel')
next_post_link('format', 'link', 'in_same_cat', 'excluded_categories')
next_posts_link( $label , $max_pages )
previous_post_link('format', 'link', in_same_cat, 'excluded_categories')
previous_posts_link( $label , $max_pages )
next_image_link()
previous_image_link()
sticky_class()
the_category('separator', 'parents' )
the_category_rss('type')
the_tags('before', 'separator', 'after')
the_meta()
wp_list_comments('arguments')
comments_number('zero', 'one', 'more')
comments_link()
comments_rss_link('text', 'file')
comments_popup_script(width, height)
comments_popup_link('zero','one','more','CSSclass','none')
comment_ID()
comment_id_fields()
comment_author()
comment_author_link()
comment_author_email()
comment_author_email_link('linktext', 'before', 'after')
comment_author_url()
comment_author_url_link('linktext', 'before', 'after')
comment_author_IP()
comment_type('comment', 'trackback', 'pingback')
comment_text()
comment_excerpt()
comment_date('d')
comment_time('d')
comment_form_title('noreplytext', 'replytext', 'linktoparent' )
comment_author_rss()
comment_text_rss()
comment_link_rss()
permalink_comments_rss()
comment_reply_link(array_merge( $args, array('reply_text' => 'Reply', 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'])))
cancel_comment_reply_link('text')
previous_comments_link( 'Label' )
next_comments_link( 'Label', 'Max number of pages (default 0)' )
paginate_comments_links()
the_time('d')
the_date('format', 'before', 'after', echo)
the_date_xml()
the_modified_time('d')
the_modified_date('d')
the_modified_author()
single_month_title('prefix', display)
get_the_time('format')
get_day_link( $year, $month, $day )
get_month_link( $year, $month )
get_year_link( $year )
get_calendar()
is_category($category)
the_category('separator', 'parents' )
the_category_rss('type')
single_cat_title('prefix', 'display')
category_nicename()
category_description( $category )
wp_dropdown_categories('arguments')
wp_list_categories('arguments')
&get_category_parents(category, display link, separator, nice name)
get_the_category()
get_category_link( $category_id )
in_category( $category, $_post )
the_author()
the_author_link()
the_author_posts()
the_author_posts_link()
the_author_meta( $field, $userID )
wp_list_authors('arguments')
wp_dropdown_users()
is_tag($slug)
the_tags('before', 'separator', 'after')
tag_description('tagID')
single_tag_title('prefix', 'display')
wp_tag_cloud()
wp_generate_tag_cloud( array $tags, array|string $args = '' )
get_the_tags()
get_the_tag_list( $before = 'before', $sep = 'seperator', $after = 'after' )
&get_tag_link($tag_id)
edit_post_link( $link, $before, $after )
edit_comment_link( $link, $before, $after )
edit_tag_link( $link, $before, $after, $tag )
edit_bookmark_link( $link, $before, $after, $bookmark )
permalink_anchor('type')
get_permalink(id)
the_permalink()
permalink_single_rss('file')
wp_list_bookmarks('arguments')
get_bookmarks('arguments')
get_bookmark( $bookmark, $output, $filter )
get_bookmark_field()
trackback_url(display)
trackback_rdf()
wp_title('sep', echo, 'seplocation')
get_posts('arguments')
query_posts('arguments')
rss_enclosure()
the_search_query()
print_Lat()
print_Lon()
print_UrlPopNav()
print_AcmeMap_Url()
print_GeoURL_Url()
print_GeoCache_Url()
print_MapQuest_Url()
print_SideBit_Url()
print_DegreeConfluence_Url()
print_TopoZone_Url()
print_FindU_Url()
print_MapTech_Url()

Function

get_post($post, $output)
get_post_mime_type( $ID )
get_post_status( $ID )
get_post_type( $post )
get_posts('arguments')
get_children('arguments')
get_extended( $post )
wp_get_recent_posts( $num )
wp_get_single_post( $postid, $mode )
is_single($post)
is_sticky($post_ID)
is_post()
wp_delete_post( $postid )
wp_insert_post( $post )
wp_update_post( $post )
wp_publish_post( $post_id )
is_page($page)
get_all_page_ids()
get_page('arguments')
get_page_by_path( $page_path, $output )
get_page_by_title( $page_title, $output )
get_page_children( $page_id, $pages )
&get_page_children( $page_id, $pages )
get_page_hierarchy( $posts, $parent )
get_page_uri( $page_id )
get_pages('arguments')
page_uri_index()
wp_list_pages('arguments')
add_post_meta($post_id, $meta_key, $meta_value, $unique)
delete_post_meta($post_id, $key, $value)
update_post_meta($post_id, $meta_key, $meta_value, $prev_value)
get_post_meta($post_id, $key, $single)
get_post_custom($post_id)
get_post_custom_keys($post_id)
get_post_custom_values($key, $post_id)
is_attachment()
get_attached_file( $attachment_id, $unfiltered )
update_attached_file( $attachment_id, $file )
is_local_attachment( $url )
wp_insert_attachment( $attachment, $filename, $parent_post_id )
wp_delete_attachment( $postid )
wp_get_attachment_image($attachment_id, $size='thumbnail', $icon = false)
wp_get_attachment_image_src($attachment_id, $size='thumbnail', $icon = false)
wp_get_attachment_metadata( $post_id, $unfiltered )
wp_update_attachment_metadata( $post_id, $data )
wp_get_attachment_url($id)
wp_get_attachment_thumb_file( $post_id )
wp_get_attachment_thumb_url( $post_id )
wp_attachment_is_image( $post_id )
wp_mime_type_icon( $mime )
wp_check_for_changed_slugs( $post_id )
wp_count_posts('type')
wp_list_bookmarks('arguments')
get_bookmark( $bookmark, $output, $filter )
get_bookmarks('arguments')
wp_trim_excerpt( $text )
add_meta_box('id', 'title', 'callback', 'page', 'context', 'priority')
wp_get_post_categories( $post_id, $args )
wp_set_post_categories( $post_ID, $post_categories )
get_the_ID()
get_the_content( $more_link_text, $stripteaser, $more_file )
get_the_author()
is_category($category)
cat_is_ancestor_of(cat1, cat2)
get_all_category_ids()
get_categories(parameters)
get_category( $category, $output, $filter )
get_category_by_path( $category_path, $full_match, $output )
get_category_by_slug('category-name')
get_cat_ID( $cat_name )
get_cat_name( $cat_id )
get_category_link( $category_id )
wp_create_category($cat_name, $parent = 0)
wp_insert_category()
is_tag($slug)
get_tags('arguments')
get_tag( $tag, $output, $filter )
is_taxonomy($taxonomy)
is_taxonomy_hierarchical( $taxonomy )
register_taxonomy($taxonomy, $object_type)
register_taxonomy($taxonomy, $object_type, $args)
is_term( $term, $taxonomy )
&get_term( $term, $taxonomy, $output, $filter )
get_term_by( $field, $value, $taxonomy, $output, $filter )
get_term_children( $term, $taxonomy )
get_terms( $taxonomies, $args )
wp_get_object_terms( $object_ids, $taxonomies, $args )
get_profile( $field, $user )
get_usernumposts(userid)
set_current_user( $id, $name )
wp_set_current_user( $id, $name )
wp_get_current_user()
get_currentuserinfo()
get_userdata(userid)
get_userdatabylogin( $user_login )
auth_redirect()
username_exists($username)
email_exists($email)
validate_username( $username )
user_pass_ok( $user_login, $user_pass )
get_usermeta(userid,'metakey')
delete_usermeta($user_id, $meta_key, $meta_value)
update_usermeta(userid,'metakey','metavalue')
wp_insert_user( $userdata )
wp_update_user( $userdata )
wp_delete_user( $id, $reassign )
wp_create_user($username, $password, $email )
wp_signon( $credentials, $secure_cookie )
is_user_logged_in()
fetch_rss($uri)
wp_rss($uri, $num)
get_rss($uri, $num = 5)
do_feed()
do_feed_rdf()
do_feed_rss()
do_feed_rss2( $for_comments )
do_feed_atom( $for_comments )
get_bloginfo_rss( $show )
bloginfo_rss( $show )
get_the_title_rss()
the_title_rss()
the_content_rss( $more_link_text, $stripteaser, $more_file, $cut, $encode_html )
the_excerpt_rss()
permalink_single_rss('file')
comment_link()
get_comment_link( $comment, $args )
get_comment_author_rss()
comment_author_rss()
comment_text_rss()
post_comments_feed_link( $link_text = 'link_text', $post_id = 'post_id', $feed = 'feed_type' )
get_post_comments_feed_link( $post_id, $feed )
get_author_feed_link( $author_id, $feed )
get_category_feed_link('cat_id', 'feed')
get_the_category_rss( $type )
the_category_rss( $type )
rss_enclosure()
get_search_feed_link( $search_query, $feed )
get_search_comments_feed_link( $search_query, $feed )
paginate_comments_links( $args )
previous_comments_link( $label )
next_comments_link( $label, $max_page )
check_comment( $author, $email, $url, $comment, $user_ip, $user_agent, $comment_type )
get_approved_comments($post_id)
get_comment($id, $output)
get_comments('array_args')
get_lastcommentmodified( $timezone )
sanitize_comment_cookies()
wp_allow_comment( $commentdata )
wp_delete_comment( $comment_id )
wp_get_comment_status( $comment_id )
wp_get_current_commenter()
wp_insert_comment($data)
wp_filter_comment( $commentdata )
wp_throttle_comment_flood( $block, $time_lastcomment, $time_newcomment )
wp_new_comment( $commentdata )
wp_set_comment_status( $comment_id, $comment_status )
wp_update_comment( $commentarr )
wp_update_comment_count( $post_id, $do_deferred )
discover_pingback_server_uri( $url, $deprecated )
do_all_pings()
do_trackbacks( $post_id )
generic_ping( $post_id )
pingback( $content, $post_ID )
privacy_ping_filter( $sites )
trackback( $trackback_url, $title, $excerpt, $ID )
weblog_ping( $server, $path )
do_enclose( $content, $post_ID )
add_ping( $post_id, $uri )
get_enclosed( $post_id )
get_pung( $post_id )
get_to_ping( $post_id )
trackback_url_list( $tb_list, $post_id )
add_filter( $tag, $function_to_add, $priority, $accepted_args )
remove_filter( $tag, $function_to_remove, $priority, $accepted_args )
apply_filters( $tag, $value )
merge_filters($tag)
add_action( $tag, $function_to_add, $priority, $accepted_args )
remove_action( $tag, $function_to_add, $priority, $accepted_args )
do_action( $tag, $arg )
did_action( $tag )
do_action_ref_array( $tag, $arg )
plugin_basename($file)
register_activation_hook($file, $function)
register_deactivation_hook($file, $function)
register_setting()
unregister_setting()
settings_fields()
add_shortcode()
remove_shortcode()
remove_all_shortcodes()
do_shortcode()
get_shortcode_regex()
do_shortcode_tag()
shortcode_parse_atts()
shortcode_atts()
strip_shortcodes()
get_header( $name )
get_sidebar( $name )
get_search_form()
comments_template( $file, $separate_comments )
get_footer( $name )
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($theme_filename)
get_themes()
get_theme( $theme )
get_template_directory()
get_theme_root()
get_theme_root_uri()
get_query_template( $type )
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( $_template_file )
locale_stylesheet()
preview_theme()
preview_theme_ob_filter( $content )
preview_theme_ob_filter_callback( $matches )
validate_current_theme()
switch_theme( $template, $stylesheet )
get_theme_mod( $name, $default )
set_theme_mod( $name, $value )
get_header_textcolor()
get_header_image()
header_image()
add_custom_image_header( $header_callback, $admin_header_callback )
wptexturize()
clean_pre( $matches )
wpautop( $pee, $br = 1 )
seems_utf8( $Str )
wp_specialchars( $text, $quotes )
utf8_uri_encode( $utf8_string, $length )
remove_accents( $string )
sanitize_file_name( $name )
sanitize_user( $username, $strict )
sanitize_title( $title, $fallback_title )
sanitize_title_with_dashes( $title )
convert_chars( $content, $deprecated )
funky_javascript_fix( $text )
balanceTags( $text, $force )
force_balance_tags( $text )
format_to_edit( $content, $richedit )
format_to_post( $content )
zeroise( $number, $threshold )
backslashit( $string )
trailingslashit( $string )
untrailingslashit( $string )
addslashes_gpc( $gpc )
stripslashes_deep( $value )
antispambot( $emailaddy, $mailto )
make_clickable( $ret )
wp_rel_nofollow( $text )
convert_smilies( $text )
is_email($address)
wp_iso_descrambler( $string )
popuplinks( $text )
sanitize_email( $email )
ent2ncr( $text )
wp_richedit_pre( $text )
clean_url( $url, $protocols, $context )
htmlentities2( $myHTML )
js_escape( $text )
attribute_escape($text)
wp_make_link_relative( $link )
add_magic_quotes( $array )
wp_kses($string, $allowed_html, $allowed_protocols)
wp_kses_hook( $string, $allowed_html, $allowed_protocols )
wp_kses_version()
wp_kses_split( $string, $allowed_html, $allowed_protocols )
wp_kses_split2( $string, $allowed_html, $allowed_protocols )
wp_kses_attr( $element, $attr, $allowed_html, $allowed_protocols )
wp_kses_hair( $attr, $allowed_protocols )
wp_kses_check_attr_val( $value, $vless, $checkname, $checkvalue )
wp_kses_bad_protocol( $string, $allowed_protocols )
wp_kses_no_null( $string )
wp_kses_stripslashes( $string )
wp_kses_array_lc( $inarray )
wp_kses_js_entities( $string )
wp_kses_html_error( $string )
wp_kses_bad_protocol_once( $string, $allowed_protocols )
wp_kses_bad_protocol_once2( $matches )
wp_kses_normalize_entities( $string )
wp_kses_normalize_entities2( $matches )
wp_kses_decode_entities( $string )
wp_filter_kses( $data )
wp_filter_post_kses( $data )
wp_filter_nohtml_kses( $data )
get_the_time('format')
get_day_link( $year, $month, $day )
get_month_link( $year, $month )
get_year_link( $year )
get_calendar()
get_gmt_from_date( $string )
get_date_from_gmt( $string )
iso8601_timezone_to_offset( $timezone )
iso8601_to_datetime( $date_string, $timezone )
human_time_diff( $from, $to )
mysql2date($dateformatstring, $mysqlstring, $translate = true)
current_time($type, $gmt = 0)
date_i18n( $dateformatstring, $unixtimestamp, $gmt )
get_weekstartend( $mysqlstring, $start_of_week )
get_lastpostdate( $timezone )
get_lastpostmodified( $timezone )
is_new_day()
maybe_serialize( $data )
maybe_unserialize( $original )
is_serialized( $data )
is_serialized_string( $data )
get_option('show')
form_option( $option )
get_alloptions()
update_option('option_name', 'newvalue')
add_option($name, $value = '', $deprecated = '', $autoload = 'yes')
delete_option($name)
get_user_option( $option, $user, $check_blog_options )
update_user_option( $user_id, $option_name, $newvalue, $global )
xmlrpc_getposttitle( $content )
xmlrpc_getpostcategory( $content )
xmlrpc_removepostdata( $content )
user_pass_ok( $user_login, $user_pass )
get_locale()
__( $text, $domain )
_e( $text, $domain )
__ngettext( $single, $plural, $number, $domain )
load_textdomain( $domain, $mofile )
load_default_textdomain()
load_plugin_textdomain( $domain, $abs_rel_path, $plugin_rel_path )
load_theme_textdomain( $domain, $path )
wp_schedule_single_event(time(), 'my_schedule_hook')
wp_schedule_event(time(), 'hourly', 'my_schedule_hook')
wp_reschedule_event( timestamp, recurrence, hook, args (optional))
wp_unschedule_event(next_scheduled_time, 'my_schedule_hook', original_args )
wp_clear_scheduled_hook('my_schedule_hook')
wp_next_scheduled( hook, args (optional))
spawn_cron( $local_time )
wp_cron()
wp_get_schedules()
wp_get_schedule( $hook, $args )
get_bloginfo('show')
make_url_footnote( $content )
wp_get_http_headers( $url, $deprecated )
add_query_arg()
remove_query_arg( $key, $query )
wp_remote_fopen($uri)
wp( $query_vars )
status_header( $header )
nocache_headers()
cache_javascript_headers()
get_num_queries()
bool_from_yn( $yn )
do_robots()
is_blog_installed()
wp_nonce_url( $actionurl, $action )
wp_nonce_field( $action, $name, $referer, $echo )
wp_referer_field( $echo )
wp_original_referer_field( $echo, $jump_back_to )
wp_get_referer()
wp_get_original_referer()
wp_mkdir_p( $target )
wp_upload_dir()
wp_upload_bits( $name, $deprecated, $bits, $time )
wp_check_filetype( $filename, $mimes )
wp_explain_nonce( $action )
wp_nonce_ays( $action )
wp_die( $message, $title, $args )
wp_mail($to, $subject, $message, $headers = )
check_admin_referer('bcn_admin_options')
check_ajax_referer( $action, $query_arg, $die )
wp_redirect($location, $status)
wp_get_cookie_login()
wp_setcookie( $username, $password, $already_md5, $home, $siteurl, $remember )
wp_clearcookie()
wp_notify_postauthor( $comment_id, $comment_type )
wp_notify_moderator( $comment_id )
wp_new_user_notification( $user_id, $plaintext_pass )
wp_verify_nonce($nonce, 'my-nonce') )
wp_create_nonce('my-nonce')
wp_salt( $scheme )
wp_hash( $data, $scheme )
wp_cache_add($key, $data, $flag = '', $expire = 0)
wp_cache_delete($id, $flag = '')
wp_cache_get($id, $flag = '')
wp_cache_replace($key, $data, $flag = '', $expire = 0)
wp_cache_set($key, $data, $flag = '', $expire = 0)
wp_cache_init()
wp_cache_flush()
wp_cache_close()
LINEで送る
Pocket

自作iPhoneアプリ 好評発売中!
フォルメモ - シンプルなフォルダつきメモ帳
ジッピー電卓 - 消費税や割引もサクサク計算!

LINEスタンプ作りました!
毎日使える。とぼけたウサギ。LINEスタンプ販売中! 毎日使える。とぼけたウサギ

ページトップへ戻る