• File: tools.php
  • Full Path: /home/bravetechrwanda/hpgt.org/.log-unix/wp-includes/wp-content/plugins/wpr-addons-pro/plugins/acf/includes/admin/views/tools/tools.php
  • Date Modified: 05/28/2025 4:55 AM
  • File size: 804 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 *  html-admin-tools
 *
 *  View to output admin tools for both archive and single
 *
 *  @date    20/10/17
 *  @since   5.6.3
 *
 *  @param   string $screen_id The screen ID used to display metaboxes
 *  @param   string $active The active Tool
 *  @return  n/a
 */

$class = $active ? 'single' : 'grid';
$tool  = $active ? ' tool-' . $active : '';
?>
<div id="acf-admin-tools" class="wrap<?php echo esc_attr( $tool ); ?>">

	<h1><?php _e( 'Tools', 'acf' ); ?> <?php
	if ( $active ) :
		?>
		<a class="page-title-action" href="<?php echo acf_get_admin_tools_url(); ?>"><?php _e( 'Back to all tools', 'acf' ); ?></a><?php endif; ?></h1>

	<div class="acf-meta-box-wrap -<?php echo $class; ?>">
		<?php do_meta_boxes( $screen_id, 'normal', '' ); ?>
	</div>

</div>