Ticket #13818: post_type_archive_title-parameters.diff
File post_type_archive_title-parameters.diff, 532 bytes (added by , 14 years ago) |
---|
-
general-template.php
650 650 * @param bool $display Optional, default is true. Whether to display or retrieve title. 651 651 * @return string|null Title when retrieving, null when displaying or failure. 652 652 */ 653 function post_type_archive_title( ) {653 function post_type_archive_title( $prefix = '', $display = true ) { 654 654 if ( ! is_post_type_archive() ) 655 655 return; 656 656