action; $exported['filter_type'] = $this->filter_type; return $exported; } /** * Render a themes section as a JS template. * * The template is only rendered by PHP once, so all actions are prepared at once on the server side. * * @since 4.9.0 */ protected function render_template() { ?>
  • filter_bar_content_template(); ?>
    <# if ( 'wporg' === data.action ) { #> filter_drawer_content_template(); ?> <# } #>

    %s', __( 'Search WordPress.org themes' ) ) ); ?>

  • <# if ( 'wporg' === data.action ) { #>
    <# } else { #>
    <# } #>
    0' ); ?>
    $features ) : ?>
    $feature_name ) : ?>