__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace WPForms\Admin\Tools\Views;

use WPForms\Admin\Education\Admin\Tools\EntryAutomation as Education;

/**
 * Class EntryAutomation.
 *
 * @since 1.9.6.1
 */
class EntryAutomation extends View {

	/**
	 * View slug.
	 *
	 * @since 1.9.6.1
	 *
	 * @var string
	 */
	protected $slug = 'entry-automation';

	/**
	 * Init view.
	 *
	 * @since 1.9.6.1
	 */
	public function init(): void {

		( new Education() )->init();

		$this->hooks();
	}

	/**
	 * Register hooks.
	 *
	 * @since 1.9.6.1
	 */
	private function hooks(): void {

		add_filter( 'admin_body_class', [ $this, 'body_classes' ] );
	}

	/**
	 * Add body classes for the view.
	 *
	 * @since 1.9.6.1
	 *
	 * @param string $classes Existing body classes.
	 *
	 * @return string
	 */
	public function body_classes( string $classes ): string {

		if ( ! wpforms_is_admin_page( 'tools', 'entry-automation' ) ) {
			return $classes;
		}

		return $classes . ' wpforms-admin-tools-view-entry-automation';
	}

	/**
	 * Get view label.
	 *
	 * @since 1.9.6.1
	 *
	 * @return string
	 */
	public function get_label(): string {

		return esc_html__( 'Entry Automation', 'wpforms-lite' );
	}

	/**
	 * Checking user capability to view.
	 *
	 * @since 1.9.6.1
	 *
	 * @return bool
	 */
	public function check_capability(): bool {

		/**
		 * Check if the user has the capability to view this entry automation.
		 *
		 * @since 1.9.6.1
		 *
		 * @param bool $capability Whether the user has the capability to view this entry automation.
		 */
		return (bool) apply_filters(
			'wpforms_admin_tools_views_entry_automation_check_capability',
			wpforms_current_user_can() && wpforms()->obj( 'addons' )->get_addon( 'entry-automation' )
		);
	}

	/**
	 * Display view content.
	 *
	 * @since 1.9.6.1
	 */
	public function display(): void {
		?>
		<div class="tools wpforms-settings-row-entry-automation">
			<div class="wpforms-entry-automation-content">
				<?php
					/**
					 * Display the content.
					 *
					 * @since 1.9.6.1
					 */
					do_action( 'wpforms_admin_tools_views_entry_automation_display' );
				?>
			</div>
		</div>
		<?php
	}
}

Filemanager

Name Type Size Permission Actions
ActionScheduler.php File 1.37 KB 0640
ActionSchedulerList.php File 2.39 KB 0640
CodeSnippets.php File 2.78 KB 0640
EntryAutomation.php File 2.06 KB 0640
Export.php File 9.41 KB 0640
Import.php File 11.35 KB 0640
Importer.php File 9.67 KB 0640
Logs.php File 8.2 KB 0640
System.php File 13.26 KB 0640
View.php File 1.7 KB 0640
Filemanager