for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace testContent\Views;
/**
* Generate view for other various test content action
*
* @abstract
* @package WordPress
* @subpackage Test Content
* @author Old Town Media
*/
class Various extends View{
protected $title = 'Various';
protected $type = 'all';
protected $priority = 3;
* Our sections action block - button to create and delete.
* @access protected
* @return string HTML content.
protected function actions_section(){
$html = '';
$html .= "<div class='test-data-cpt'>";
$html .= "<h3>";
$html .= "<span class='label'>" . __( 'Clean Site', 'otm-test-content' ) . "</span>";
$html .= $this->build_button( 'delete', 'all', __( 'Delete All Test Data', 'otm-test-content' ) );
$html .= "</h3>";
$html .= "</div>";
return $html;
}
* We don't need any options on this page, so returning it empty
* @param string $html Existing HTML content.
* @return string HTML section content.
protected function options_section( $html = '' ){