balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

plugin.php (1122B)


      1 <?php
      2 
      3 /**
      4  * Getting started section.
      5  *
      6  * @package Car Repair Services
      7  */
      8 if (!class_exists('TGM_Plugin_Activation')) {
      9 	return false;
     10 }
     11 
     12 $plugin_table = new TGMPA_List_Table();
     13 // Return early if processing a plugin installation action.
     14 if ((('tgmpa-bulk-install' === $plugin_table->current_action() || 'tgmpa-bulk-update' === $plugin_table->current_action()) && $plugin_table->process_bulk_actions())) {
     15 	return;
     16 }
     17 
     18 // Force refresh of available plugin information so we'll know about manual updates/deletes.
     19 wp_clean_plugins_cache(false);
     20 
     21 ?>
     22 <div class="tgmpa">
     23 	<?php
     24 	if (!empty($this->message) && is_string($this->message)) {
     25 		echo wp_kses_post($this->message);
     26 	}
     27 	?>
     28 	<h1><?php esc_html_e('Recommended Plugins', 'welbim'); ?></h1>
     29 	<?php $plugin_table->prepare_items(); ?>
     30 	<?php $plugin_table->views(); ?>
     31 
     32 	<form id="tgmpa-plugins" action="" method="post">
     33 		<input type="hidden" name="tgmpa-page" value="<?php echo esc_attr($this->menu); ?>" />
     34 		<input type="hidden" name="plugin_status" value="<?php echo esc_attr($plugin_table->view_context); ?>" />
     35 		<?php $plugin_table->display(); ?>
     36 	</form>
     37 </div>