%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/businessmultisite/wp-content/plugins/admin-columns-pro/classes/Service/
Upload File :
Create Path :
Current File : /var/www/businessmultisite/wp-content/plugins/admin-columns-pro/classes/Service/Templates.php

<?php

namespace ACP\Service;

use AC\Registrable;

class Templates implements Registrable {

	/**
	 * @var string
	 */
	private $dir;

	public function __construct( $dir ) {
		$this->dir = (string) $dir;
	}

	public function register() {
		add_filter( 'ac/view/templates', [ $this, 'templates' ] );
	}

	/**
	 * @param array $templates
	 *
	 * @return array
	 */
	public function templates( $templates ) {
		$templates[] = $this->dir . 'templates';

		return $templates;
	}

}

Zerion Mini Shell 1.0