/home/vianto5/heredit.mx/wp-content/plugins/wpforms/src/Admin/Tools/Views
NameSizeModeActions
ActionScheduler.php14010644editdlrm
ActionSchedulerList.php24510644editdlrm
AiMcp.php19020644editdlrm
CodeSnippets.php28450644editdlrm
EntryAutomation.php21070644editdlrm
Export.php50460644editdlrm
Import.php47210644editdlrm
Importer.php108210644editdlrm
Logs.php83940644editdlrm
System.php140210644editdlrm
View.php17440644editdlrm
Edit: /home/vianto5/heredit.mx/wp-content/plugins/wpforms/src/Admin/Tools/Views/EntryAutomation.php (2107B)
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 { ?>