In: , ,
On: 2004 / 09 / 01
Shorter URL for this post: http://ozh.in/1z

Whenever I start hacking a bit my WordPress installation, I always end up asking "in what file is this f** function located ?" and have to search /wp-include directory using grep to find it. So, to make such a search easier, I gathered the full list of functions used in WordPress 1.2 — and their default arguments.

Tip : use Ctrl-F in your browser to look for a particular function

class-pop3.php

function POP3 ($server = '', $timeout = '')
function update_timer ()
function connect ($server, $port = 110)
function noop ()
function user ($user = "")
function pass ($pass = "")
function apop ($login,$pass)
function login ($login = "", $pass = "")
function top ($msgNum, $numLines = "0")
function pop_list ($msgNum = "")
function get ($msgNum)
function last ( $type = "count" )
function reset ()
function send_cmd ( $cmd = "" )
function quit ()
function popstat ()
function uidl ($msgNum = "")
function delete ($msgNum = "")
function is_ok ($cmd = "")
function strip_clf ($text = "")
function parse_banner ( $server_text )

class-smarty.php

function smarty_bloginfo ( $params )
function smarty_bloginfo_rss ( $params )
function smarty_bloginfo_unicode ( $params )
function smarty_get_bloginfo ( $params )
function smarty_single_post_title ( $params )
function smarty_single_cat_title ( $params )
function smarty_single_month_title ( $params )
function smarty_get_archives_link ( $params )
function smarty_get_archives ( $params )
function smarty_the_date_xml ()
function smarty_the_date ( $params )
function smarty_the_time ( $params )
function smarty_the_weekday ()
function smarty_the_weekday_date ( $params )
function smarty_get_Lat ()
function smarty_get_Lon ()
function smarty_the_ID ()
function smarty_permalink_link ( $params )
function smarty_the_title ( $params )
function smarty_the_category_ID ( $params )
function smarty_the_content ( $params )
function smarty_link_pages ( $params )
function smarty_comments_popup_link ( $params )
function smarty_trackback_rdf ( $params )
function smarty_comments_popup_script ( $params )
function smarty_get_links ( $params )
function smarty_list_cats ( $params )
function smarty_timer_stop ( $params )
function smarty_get_calendar ( $params )

class-xmlrpc.php

function logIO ($m="",$n="")
function xmlrpc_entity_decode ($string)
function xmlrpc_lookup_entity ($ent)
function xmlrpc_se ($parser, $name, $attrs)
function xmlrpc_ee ($parser, $name)
function xmlrpc_cd ($parser, $data)
function xmlrpc_dh ($parser, $data)
function xmlrpc_client ($path, $server, $port=0)
function setDebug ($in)
function setCredentials ($u, $p)
function setCertificate ($cert, $certpass)
function send ($msg, $timeout=0, $method='http')
function sendPayloadHTTP10 ($msg, $server, $port, $timeout=0, $username="", $password="")
function sendPayloadHTTPS ($msg, $server, $port, $timeout=0, $username="", $password="", $cert="", $certpass="")
function xmlrpcresp ($val, $fcode=0, $fstr="")
function faultCode ()
function faultString ()
function value ()
function serialize ()
function xmlrpcmsg ($meth, $pars=0)
function xml_header ()
function xml_footer ()
function createPayload ()
function method ($meth="")
function serialize ()
function addParam ($par)
function getParam ($i)
function getNumParams ()
function parseResponseFile ($fp)
function parseResponse ($data="")
function xmlrpcval ($val=-1, $type="")
function addScalar ($val, $type="string")
function addArray ($vals)
function addStruct ($vals)
function dump ($ar)
function kindOf ()
function serializedata ($typ, $val)
function serialize ()
function serializeval ($o)
function structmem ($m)
function structreset ()
function structeach ()
function getval ()
function scalarval ()
function scalartyp ()
function arraymem ($m)
function arraysize ()
function iso8601_encode ($timet, $utc=0)
function iso8601_decode ($idate, $utc=0)
function phpxmlrpc_decode ($xmlrpc_val)
function phpxmlrpc_encode ($php_val)

class-xmlrpcs.php

function _xmlrpcs_listMethods ($server, $m)
function _xmlrpcs_methodSignature ($server, $m)
function _xmlrpcs_methodHelp ($server, $m)
function xmlrpc_debugmsg ($m)
function xmlrpc_server ($dispMap, $serviceNow=1)
function serializeDebug ()
function service ()
function verifySignature ($in, $sig)
function parseRequest ($data="")
function echoInput ()

functions-formatting.php

function wptexturize ($text)
function clean_pre ($text)
function wpautop ($pee, $br = 1)
function sanitize_title ($title)
function sanitize_title_with_dashes ($title)
function convert_chars ($content, $flag = 'obsolete')
function balanceTags ($text, $is_comment = 0)
function format_to_edit ($content)
function format_to_post ($content)
function zeroise ($number,$threshold)
function backslashit ($string)
function trailingslashit ($string)
function addslashes_gpc ($gpc)
function antispambot ($emailaddy, $mailto=0)
function make_clickable ($text)
function convert_smilies ($text)
function is_email ($user_email)
function strip_all_but_one_link ($text, $mylink)
function wp_iso_descrambler ($string)
function get_gmt_from_date ($string)
function get_date_from_gmt ($string)

functions.php

function _ ($string)
function floatval ($string)
function popuplinks ($text)
function mysql2date ($dateformatstring, $mysqlstring, $use_b2configmonthsdays = 1)
function current_time ($type, $gmt = 0)
function date_i18n ($dateformatstring, $unixtimestamp)
function get_weekstartend ($mysqlstring, $start_of_week)
function get_lastpostdate ($timezone = 'server')
function get_lastpostmodified ($timezone = 'server')
function user_pass_ok ($user_login,$user_pass)
function get_currentuserinfo ()
function get_userdata ($userid)
function get_userdatabylogin ($user_login)
function get_userid ($user_login)
function get_usernumposts ($userid)
function url_to_postid ($url = '')
function get_settings ($setting)
function get_alloptions ()
function update_option ($option_name, $newvalue)
function add_option ($name, $value='')
function delete_option ($name)
function get_postdata ($postid)
function get_commentdata ($comment_ID,$no_cache=0,$include_unapproved=false)
function get_catname ($cat_ID)
function gzip_compression ()
function timer_start ()
function timer_stop ($display=0,$precision=3)
function weblog_ping ($server = '', $path = '')
function generic_ping ($post_id = 0)
function trackback ($trackback_url, $title, $excerpt, $ID)
function trackback_response ($error = 0, $error_message = '')
function make_url_footnote ($content)
function xmlrpc_getposttitle ($content)
function xmlrpc_getpostcategory ($content)
function xmlrpc_removepostdata ($content)
function debug_fopen ($filename, $mode)
function debug_fwrite ($fp, $string)
function debug_fclose ($fp)
function pingback ($content, $post_ID)
function doGeoUrlHeader ($post_list = '')
function getRemoteFile ($host,$path)
function pingGeoURL ($blog_ID)
function wp_set_comment_status ($comment_id, $comment_status)
function wp_get_comment_status ($comment_id)
function wp_notify_postauthor ($comment_id, $comment_type='comment')
function wp_notify_moderator ($comment_id)
function start_wp ()
function is_new_day ()
function apply_filters ($tag, $string)
function add_filter ($tag, $function_to_add, $priority = 10)
function remove_filter ($tag, $function_to_remove, $priority = 10)
function do_action ($tag, $string)
function add_action ($tag, $function_to_add, $priority = 10)
function remove_action ($tag, $function_to_remove, $priority = 10)
function rewrite_rules ($matches = '', $permalink_structure = '')
function preg_index ($number, $matches = '')
function get_posts ($args)
function check_comment ($author, $email, $url, $comment, $user_ip)
function wp_head ()

gettext.php

function readint ()
function gettext_reader ($Reader)
function load_tables ($translations=false)
function get_string_number ($num)
function get_translation_number ($num)
function find_string ($string, $start,$end)
function translate ($string)
function get_plural_forms ()
function select_string ($n)
function ngettext ($single, $plural, $number)

kses.php

function wp_kses ($string, $allowed_html, $allowed_protocols = array ('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'gopher', 'mailto'))
function wp_kses_hook ($string)
function wp_kses_version ()
function wp_kses_split ($string, $allowed_html, $allowed_protocols)
function wp_kses_split2 ($string, $allowed_html, $allowed_protocols)
function wp_kses_attr ($element, $attr, $allowed_html, $allowed_protocols)
function wp_kses_hair ($attr, $allowed_protocols)
function wp_kses_check_attr_val ($value, $vless, $checkname, $checkvalue)
function wp_kses_bad_protocol ($string, $allowed_protocols)
function wp_kses_no_null ($string)
function wp_kses_stripslashes ($string)
function wp_kses_array_lc ($inarray)
function wp_kses_js_entities ($string)
function wp_kses_html_error ($string)
function wp_kses_bad_protocol_once ($string, $allowed_protocols)
function wp_kses_bad_protocol_once2 ($string, $allowed_protocols)
function wp_kses_normalize_entities ($string)
function wp_kses_normalize_entities2 ($i)
function wp_kses_decode_entities ($string)
function wp_filter_kses ($data)

links.php

function get_linksbyname ($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', $show_description = true, $show_rating = false, $limit = -1, $show_updated = 0)
function bool_from_yn ($yn)
function wp_get_linksbyname ($category)
function wp_get_links ($category)
function get_links ($category = -1, $before = '', $after = '<br />',$between = ' ', $show_images = true, $orderby = 'name', $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true)
function get_linkobjectsbyname ($cat_name = "noname" , $orderby = 'name', $limit = -1)
function get_linkobjects ($category = -1, $orderby = 'name', $limit = -1)
function get_linkrating ($link)
function get_linksbyname_withrating ($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0)
function get_links_withrating ($category = -1, $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id', $show_description = true, limit = -1, $show_updated = 0)
function get_linkcatname ($id = 0)
function get_autotoggle ($id = 0)
function links_popup_script ($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true)
function get_links_list ($order = 'name', $hide_if_empty = 'obsolete')

links-update-xml.php

function preload_links ()
function update_links ()
function get_weblogs_updatedfile ()
function startElement ($parser, $tagName, $attrs)
function endElement ($parser, $tagName)
function transform_url ($url)

streams.php

function read ($bytes)
function seekto ($position)
function currentpos ()
function length ()
function StringReader ($str='')
function read ($bytes)
function seekto ($pos)
function currentpos ()
function length ()
function FileReader ($filename)
function read ($bytes)
function seekto ($pos)
function currentpos ()
function length ()
function close ()

template-functions-author.php

function the_author ($idmode = '', $echo = true)
function the_author_description ()
function the_author_login ()
function the_author_firstname ()
function the_author_lastname ()
function the_author_nickname ()
function the_author_ID ()
function the_author_email ()
function the_author_url ()
function the_author_icq ()
function the_author_aim ()
function the_author_yim ()
function the_author_msn ()
function the_author_posts ()
function the_author_posts_link ($idmode='')
function get_author_link ($echo = false, $author_id, $author_nicename)
function get_author_rss_link ($echo = false, $author_id, $author_nicename)
function wp_list_authors ($args = '')
function list_authors ($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '')

template-functions-category.php

function get_the_category ()
function get_category_link ($echo = false, $category_id, $category_nicename)
function get_category_rss_link ($echo = false, $category_id, $category_nicename)
function the_category ($seperator = '', $parents='')
function the_category_rss ($type = 'rss')
function get_the_category_by_ID ($cat_ID)
function get_category_parents ($id, $link = FALSE, $separator = '/', $nicename = FALSE)
function get_category_children ($id, $before = '/', $after = '')
function the_category_ID ($echo = true)
function the_category_head ($before='', $after='')
function category_description ($category = 0)
function dropdown_cats ($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $optiondates = 0, $optioncount = 0, $hide_empty = 1, $optionnone=FALSE, $selected=0, $hide=0)
function wp_list_cats ($args = '')
function list_cats ($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=FALSE, $child_of=0, $categories=0, $recurse=0, $feed = '', $feed_image = '', $exclude = '')
function in_category ($category)

template-functions-comment.php

function clean_url ($url)
function comments_number ($zero='No Comments', $one='1 Comment', $more='% Comments', $number='')
function comments_link ($file='', $echo=true)
function comments_popup_script ($width=400, $height=400, $file='wp-comments-popup.php')
function comments_popup_link ($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off')
function comment_ID ()
function comment_author ()
function comment_author_email ()
function comment_author_link ()
function comment_type ($commenttxt = 'Comment', $trackbacktxt = 'Trackback', $pingbacktxt = 'Pingback')
function comment_author_url ()
function comment_author_email_link ($linktext='', $before='', $after='')
function comment_author_url_link ($linktext='', $before='', $after='')
function comment_author_IP ()
function comment_text ()
function comment_excerpt ()
function comment_date ($d='')
function comment_time ($d='')
function comments_rss_link ($link_text='Comments RSS', $commentsrssfilename = 'wp-commentsrss2.php')
function comments_rss ($commentsrssfilename = 'wp-commentsrss2.php')
function comment_author_rss ()
function comment_text_rss ()
function comment_link_rss ()
function permalink_comments_rss ()
function trackback_url ($display = true)
function trackback_rdf ($timezone = 0)

template-functions-general.php

function bloginfo ($show='')
function bloginfo_rss ($show='')
function bloginfo_unicode ($show='')
function get_bloginfo ($show='')
function wp_title ($sep = '&raquo;', $display = true)
function single_post_title ($prefix = '', $display = true)
function single_cat_title ($prefix = '', $display = true )
function single_month_title ($prefix = '', $display = true )
function get_archives_link ($url, $text, $format = "html", $before = "", $after = "")
function wp_get_archives ($args = '')
function get_archives ($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false)
function get_calendar ($daylength = 1)
function allowed_tags ()
function the_date_xml ()
function the_date ($d='', $before='', $after='', $echo = true)
function the_time ($d='', $echo = true)
function the_weekday ()
function the_weekday_date ($before='',$after='')

template-functions-geo.php

function get_Lat ()
function get_Lon ()
function print_Lat ()
function print_Lon ()
function print_PopUpScript ()
function formHandler (form)
function print_UrlPopNav ()
function longitude_invalid ()
function print_AcmeMap_Url ()
function print_GeoURL_Url ()
function print_GeoCache_Url ()
function print_MapQuest_Url ()
function print_SideBit_Url ()
function print_DegreeConfluence_Url ()
function print_TopoZone_Url ()
function print_FindU_Url ()
function print_MapTech_Url ()

template-functions-links.php

function the_permalink ()
function permalink_link ()
function permalink_anchor ($mode = 'id')
function permalink_single_rss ($file = '')
function get_permalink ($id=false)
function get_month_link ($year, $month)
function get_day_link ($year, $month, $day)
function edit_post_link ($link = 'Edit This', $before = '', $after = '')
function edit_comment_link ($link = 'Edit This', $before = '', $after = '')

template-functions-post.php

function get_the_password_form ()
function the_ID ()
function the_title ($before = '', $after = '', $echo = true)
function the_title_rss ()
function get_the_title ()
function the_content ($more_link_text = ' (more…)', $stripteaser = 0, $more_file = '')
function the_content_rss ($more_link_text=' (more…)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0)
function get_the_content ($more_link_text = ' (more…)', $stripteaser = 0, $more_file = '')
function the_excerpt ()
function the_excerpt_rss ($cut = 0, $encode_html = 0)
function get_the_excerpt ($fakeit = true)
function wp_link_pages ($args = '')
function link_pages ($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page', $pagelink='%', $more_file='')
function previous_post ($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='')
function next_post ($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='')
function next_posts ($max_page = 0)
function next_posts_link ($label='Next Page &raquo;', $max_page=0)
function previous_posts ()
function previous_posts_link ($label='&laquo; Previous Page')
function posts_nav_link ($sep=' :: ', $prelabel='<< Previous Page', $nxtlabel='Next Page >>')
function get_post_custom ()
function get_post_custom_keys ()
function get_post_custom_values ($key='')
function the_meta ()

textile.php

function textile ($text)
function callback_url ($text,$title='',$url)
function textile_popup_help ($name,$helpvar,$windowW,$windowH)
function encode_high ($text)
function decode_high ($text)
function cmap ()
function linkit ($text,$title,$url)

vars.php

function smiliescmp ($a, $b)

wp-db.php

function wpdb ($dbuser, $dbpassword, $dbname, $dbhost)
function select ($db)
function escape ($str)
function print_error ($str = '')
function show_errors ()
function hide_errors ()
function flush ()
function query ($query)
function get_var ($query=null, $x = 0, $y = 0)
function get_row ($query = null, $output = OBJECT, $y = 0)
function get_col ($query = null , $x = 0)
function get_results ($query = null, $output = OBJECT)
function get_col_info ($info_type = 'name', $col_offset = -1)

wp-l10n.php

function __ ($text)
function _e ($text)
function __ngettext ($single, $plural, $number)

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/1z

Metastuff

This entry "WordPress 1.2 functions list" was posted on 01/09/2004 at 7:55 pm and is tagged with , ,
Watch this discussion : Comments RSS 2.0.

7 Blablas

  1. […] rdPress Function Reference
    Filed under: Cool tools — Carthik @ 8:55 pm

    PlanetOZH writes : Whenever I start hacking a bit my WordPress […]

  2. […] nen
    Rubriken: Vertiefung, admin

    Eine Liste der WordPress-Funktionen gibt es hier.

    –> […]

  3. Carthik says:

    Why don't you use
    http://www.cenamayo.com/wpxref
    or better still a personal install of the same software?

  4. Ozh says:

    Well, wpxref provides no listing of functions (or I missed something). What I need is a full list of functions so I can find in what file they are, not the other way round :)

  5. Ozh says:

    Ah damn. Ok. I missed the microscopic "Search" link :)

  6. Ali_ix says:

    WOW !
    Usefull ;)

  7. Kevin says:

    Old posting but still very useful!

    Thanks a lot :)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?