Changeset 46662 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 11/05/2019 09:28:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r46315 r46662 200 200 * 201 201 * @param string $taxonomy Taxonomy to retrieve terms from. 202 * @param int $defaultNot used.203 * @param int $numberNumber of terms to retrieve. Defaults to 10.204 * @param bool $echoOptionally output the list as well. Defaults to true.205 * @return array Listof popular term IDs.202 * @param int $default Not used. 203 * @param int $number Number of terms to retrieve. Defaults to 10. 204 * @param bool $echo Optionally output the list as well. Defaults to true. 205 * @return int[] Array of popular term IDs. 206 206 */ 207 207 function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $echo = true ) { … … 2098 2098 2099 2099 /** 2100 * Function to retrievean array of post states from a post.2100 * Retrieves an array of post states from a post. 2101 2101 * 2102 2102 * @since 5.3.0 2103 2103 * 2104 2104 * @param WP_Post $post The post to retrieve states for. 2105 * @return array The array of translated post states.2105 * @return string[] Array of post state labels keyed by their state. 2106 2106 */ 2107 2107 function get_post_states( $post ) {
Note: See TracChangeset
for help on using the changeset viewer.