install_search_form [ WordPress Function ]
install_search_form ( $type_selector = true )
| Defined at: |
|
Benzer Fonksiyonlar: install_theme_search_form, get_search_form, install_network, is_search, install_theme_information
Display search form for searching plugins.
Source
<?php
function install_search_form( $type_selector = true ) {
$type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : 'term';
$term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : '';
?><form id="search-plugins" method="get" action="">
<input type="hidden" name="tab" value="search" />
<?php if ( $type_selector ) : ?>
<select name="type" id="typeselector">
<option value="term"<?php selected('term', $type) ?>><?php _e('Keyword'); ?></option>
<option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option>
<option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
</select>
<?php endif; ?>
<input type="search" name="s" value="<?php echo esc_attr($term) ?>" />
<label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
<?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
</form><?php
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- wp-admin/includes/plugin-install.php source
h4> 87 <?php install_search_form( false ); ?> 88 89 ... 115 * 116 * @since 2.7.0 117 */ 118 function install_search_form( $type_selector = true ) { 119 $type ...
phpxref.ftwr.co.uk - SearchForm – Djangoapps
After that you can install search form. Just type: easy_install searchform. and Easy Install will go to the Cheeseshop and grab the last searchform for you.
tracpub.yaco.es - /wp-admin/includes/plugin-install.php source - PHP Cross ...
Jun 1, 2011 ... p> 88 <?php install_search_form(); ?> 89 90 <h4><?php ... 116 * 117 * @since 2.7.0 118 */ 119 function install_search_form(){ 120 $type ...
xref.yoast.com - php /** * WordPress Plugin Install Administration API - WordPress SVN
h4> <?php install_search_form( false ); ?> ... @since 2.7.0 */ function install_search_form( $type_selector = true ) { $type = isset($_REQUEST['type']) ...
core.svn.wordpress.org