site_oueb_2/wp-content/themes/oceanwp/partials/header/search-dropdown.php

21 lines
509 B
PHP
Raw Normal View History

2022-11-22 20:23:31 +01:00
<?php
/**
* Site header search dropdown HTML
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Search attributes.
$item_search_attrs = apply_filters( 'oceanwp_attrs_search_bar', '' );
?>
<div id="searchform-dropdown" class="header-searchform-wrap clr" <?php echo $item_search_attrs; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<?php get_search_form(); ?>
</div><!-- #searchform-dropdown -->