Changeset 24624
- Timestamp:
- 07/10/2013 03:43:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/iis/tbex.xml
r20951 r24624 458 458 <signature>wp_get_attachment_thumb_url( $post_id ); </signature> 459 459 <docrelurl>wp_get_attachment_thumb_url</docrelurl> 460 </item> 460 </item> 461 461 <item name= "wp_get_attachment_url"> 462 462 <description>Returns a full URI for an attachment file or false on failure. </description> … … 580 580 <docrelurl>get_all_category_ids</docrelurl> 581 581 </item> 582 <item name= "get_ancestors">583 <description>Returns an array containing the parents of the given object. </description>584 <signature>get_ancestors( 208, 'category' ); </signature>585 <docrelurl>get_ancestors</docrelurl>586 </item>587 582 <item name= "get_cat_ID"> 588 583 <description>Retrieve the ID of a category from its name. </description> … … 594 589 <signature>get_cat_name( $cat_id ) </signature> 595 590 <docrelurl>get_cat_name</docrelurl> 596 </item>597 <item name= "get_categories">598 <description>Returns an array of category objects matching the query parameters. Arguments are pretty much the same as wp_list_categories and can be passed as either array or in query syntax. </description>599 <signature>600 $args = array(601 'type' => 'post',602 'child_of' => 0,603 'parent' => '',604 'orderby' => 'name',605 'order' => 'ASC',606 'hide_empty' => 1,607 'hierarchical' => 1,608 'exclude' => '',609 'include' => '',610 'number' => '',611 'taxonomy' => 'category',612 'pad_counts' => false );613 </signature>614 <docrelurl>get_categories</docrelurl>615 591 </item> 616 592 <item name= "get_categories"> … … 940 916 <docrelurl>add_role</docrelurl> 941 917 </item> 942 <item name= "add_role">943 <description>Adds a new Role to WordPress. </description>944 <signature></signature>945 <docrelurl>add_role</docrelurl>946 </item>947 918 <item name= "author_can"> 948 919 <description>Whether author of supplied post has capability or role. </description> … … 979 950 <docrelurl>get_super_admins</docrelurl> 980 951 </item> 981 <item name= "get_super_admins">982 <description>Retrieve a list of super admins. Uses $super_admins Super admins global variable, if set. </description>983 <signature>984 $super_admins = get_super_admins();985 echo 'List of super-admin users:<ul>986 ';987 foreach ($super_admins as $admin) {988 echo '<li>' . $admin . '</li>';989 }990 echo '991 </ul>';992 </signature>993 <docrelurl>get_super_admins</docrelurl>994 </item>995 952 <item name= "is_super_admin"> 996 953 <description>Determine if user is a network (super) admin. </description> … … 1083 1040 <docrelurl>get_userdata</docrelurl> 1084 1041 </item> 1085 <item name= "get_userdata">1086 <description>Returns a WP_User object with the information pertaining to the user whose ID is passed to it. Properties map directly to wp_users and wp_usermeta tables in the database (see Database Description). If the user does not exist, the function returns false. An alias of get_user_by('id'). </description>1087 <signature>1088 $user_info = get_userdata(1);1089 echo 'Username: ' . $user_info->user_login . "\n";1090 echo 'User level: ' . $user_info->user_level . "\n";1091 echo 'User ID: ' . $user_info->ID . "\n";1092 </signature>1093 <docrelurl>get_userdata</docrelurl>1094 </item>1095 1042 <item name= "get_usernumposts"> 1096 1043 <description>Returns the post count for the user whose ID is passed to it. Properties map directly to the wp_posts table in the database (see Database Description). </description> … … 1102 1049 <signature></signature> 1103 1050 <docrelurl>get_users</docrelurl> 1104 </item>1105 <item name= "set_current_user">1106 <description>This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead. Changes the current user by ID or name. Set $id to null and specify a name if you do not know a user's ID. </description>1107 <signature>set_current_user( $id, $name ) </signature>1108 <docrelurl>set_current_user</docrelurl>1109 1051 </item> 1110 1052 <item name= "set_current_user"> … … 1673 1615 <signature>do_action( 'i_am_hook', $a, $b );</signature> 1674 1616 <docrelurl>do_action</docrelurl> 1675 </item> 1617 </item> 1676 1618 <item name= "do_action_ref_array"> 1677 1619 <description>Execute functions hooked on a specific action hook, specifying arguments in an array. This function is identical to do_action, but the arguments passed to the functions hooked to $tag are supplied using an array. </description> … … 2723 2665 <docrelurl>get_nodes</docrelurl> 2724 2666 </item> 2725 <item name= "get_nodes">2726 <description>This function returns an array of all the Toolbar items on the current page. Toolbar items are also called "nodes". The Toolbar replaces the Admin Bar since WordPress Version 3.3. note: This function is a method of the WP_Admin_Bar class and $wp_admin_bar global object, which may not exist except during the 'admin_bar_menu' or 'wp_before_admin_bar_render' hooks. </description>2727 <signature>$wp_admin_bar->get_nodes(); </signature>2728 <docrelurl>get_nodes</docrelurl>2729 </item>2730 <item name= "get_nodes">2731 <description>This function returns an array of all the Toolbar items on the current page. Toolbar items are also called "nodes". The Toolbar replaces the Admin Bar since WordPress Version 3.3. note: This function is a method of the WP_Admin_Bar class and $wp_admin_bar global object, which may not exist except during the 'admin_bar_menu' or 'wp_before_admin_bar_render' hooks. </description>2732 <signature>$wp_admin_bar->get_nodes(); </signature>2733 <docrelurl>get_nodes</docrelurl>2734 </item>2735 <item name= "get_nodes">2736 <description>This function returns an array of all the Toolbar items on the current page. Toolbar items are also called "nodes". The Toolbar replaces the Admin Bar since WordPress Version 3.3. note: This function is a method of the WP_Admin_Bar class and $wp_admin_bar global object, which may not exist except during the 'admin_bar_menu' or 'wp_before_admin_bar_render' hooks. </description>2737 <signature>$wp_admin_bar->get_nodes(); </signature>2738 <docrelurl>get_nodes</docrelurl>2739 </item>2740 2667 <item name= "checked"> 2741 2668 <description>Compares two given values (for example, a saved option vs. one chosen in a form) and, if the values are the same, adds the checked attribute to the current radio button or checkbox. This is essentially the same as comparing values with if(), but results in more concise code. </description> … … 2747 2674 <signature></signature> 2748 2675 <docrelurl>disabled</docrelurl> 2749 </item>2750 <item name= "selected">2751 <description>For use in dropdown form fields. Compares two given values (for example, a saved option vs. one chosen in a form) and, if the values are the same, adds the selected attribute to the current option tag. </description>2752 <signature></signature>2753 <docrelurl>selected</docrelurl>2754 </item>2755 <item name= "selected">2756 <description>For use in dropdown form fields. Compares two given values (for example, a saved option vs. one chosen in a form) and, if the values are the same, adds the selected attribute to the current option tag. </description>2757 <signature></signature>2758 <docrelurl>selected</docrelurl>2759 </item>2760 <item name= "selected">2761 <description>For use in dropdown form fields. Compares two given values (for example, a saved option vs. one chosen in a form) and, if the values are the same, adds the selected attribute to the current option tag. </description>2762 <signature></signature>2763 <docrelurl>selected</docrelurl>2764 2676 </item> 2765 2677 <item name= "selected"> … … 2842 2754 <signature>xmlrpc_removepostdata( $content ) </signature> 2843 2755 <docrelurl>xmlrpc_removepostdata</docrelurl> 2844 </item>2845 <item name= "user_pass_ok">2846 <description>Check that the user login name and password is correct. </description>2847 <signature>user_pass_ok( $user_login, $user_pass ) </signature>2848 <docrelurl>user_pass_ok</docrelurl>2849 2756 </item> 2850 2757 <item name= "__">
Note: See TracChangeset
for help on using the changeset viewer.