[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> form-reply-search.php (source)

   1  <?php
   2  
   3  /**
   4   * Search
   5   *
   6   * @package bbPress
   7   * @subpackage Theme
   8   */
   9  
  10  // Exit if accessed directly
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  if ( bbp_allow_search() ) : ?>
  14  
  15      <div class="bbp-search-form">
  16          <form role="search" method="get" id="bbp-reply-search-form">
  17              <div>
  18                  <label class="screen-reader-text hidden" for="rs"><?php esc_html_e( 'Search replies:', 'bbpress' ); ?></label>
  19                  <input type="text" value="<?php bbp_search_terms(); ?>" name="rs" id="rs" />
  20                  <input class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
  21              </div>
  22          </form>
  23      </div>
  24  
  25  <?php endif;


Generated: Mon Dec 30 01:00:53 2024 Cross-referenced by PHPXref 0.7.1