- Timestamp:
- 01/12/2018 07:08:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
r6373 r6374 45 45 /** 46 46 * Different posts_per_page settings for different views. Runs during pre_get_posts. 47 * 48 * @param WP_Query $query The WP_Query instance. 47 49 */ 48 50 function posts_per_page( $query ) { … … 170 172 /** 171 173 * Render the Video Info box 174 * 175 * @global WP_Post $post 172 176 */ 173 177 function render_video_info_metabox() { … … 190 194 * Save the values of meta box fields 191 195 * 192 * @param int $post_id196 * @param int $post_id 193 197 * @param WP_Post $post 194 198 */ … … 256 260 * @todo optimize the get_tax_query part. 257 261 * 258 * @param string $search262 * @param string $search 259 263 * @param WP_Query $query 260 *261 264 * @return string 262 265 */ … … 311 314 * search. Make sure this filter runs only once per WP_Query request. 312 315 * 313 * @param string $join316 * @param string $join 314 317 * @param WP_Query $query 315 *316 318 * @return string 317 319 */ … … 336 338 * This filter glues all duplicates. Use only once per WP_Query. 337 339 * 338 * @param string $group_by340 * @param string $group_by 339 341 * @param WP_Query $query 340 *341 342 * @return string 342 343 */ … … 355 356 * 356 357 * @param string $search 357 *358 358 * @return array 359 359 */ … … 396 396 * 397 397 * @param object $comment 398 * @param array $args399 * @param int $depth398 * @param array $args 399 * @param int $depth 400 400 */ 401 401 function list_comments( $comment, $args, $depth ) { … … 445 445 * 446 446 * @param string $code 447 *448 447 * @return string 449 448 */ … … 541 540 * Outputs the video image 542 541 * 543 * @param int $h544 * @param int $w542 * @param int $h 543 * @param int $w 545 544 * @param bool $arrow 546 545 * @param bool $html_code … … 597 596 * 598 597 * @param string $content 599 *600 598 * @return mixed 601 599 */ … … 610 608 * 611 609 * @param string $path 612 *613 610 * @return mixed|void 614 611 */ … … 662 659 * @param string $sep 663 660 * @param string $after 664 * @param bool $display_count 661 * @param bool $display_count 662 * @return bool|void False if there are no terms. 665 663 */ 666 664 public function the_terms( $taxonomy = 'post_tag', $before = '', $sep = '', $after = '', $display_count = true ) { … … 719 717 * @param string $output 720 718 * @param object $item 721 * @param int $depth722 * @param array $args723 * @param int $id719 * @param int $depth 720 * @param array $args 721 * @param int $id 724 722 */ 725 723 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { … … 787 785 * 788 786 * @param string $title Default title text for current view. 789 * @param string $sep Optional separator. 790 * 787 * @param string $sep Optional separator. 791 788 * @return string The filtered title. 792 789 */ … … 820 817 * 821 818 * @param string $excerpt 822 *823 819 * @return string 824 820 */ … … 841 837 * 842 838 * @param string $username 843 *844 839 * @return bool 845 840 */
Note: See TracChangeset
for help on using the changeset viewer.