link' ); add_filter( 'admin_footer_text', 'FrmAppController::set_footer_text' ); add_action( 'wp_ajax_frm_dismiss_review', 'FrmAppController::dismiss_review' ); // Addons Controller. add_action( 'admin_menu', 'FrmAddonsController::menu', 100 ); add_filter( 'pre_set_site_transient_update_plugins', 'FrmAddonsController::check_update' ); // Entries Controller. add_action( 'admin_menu', 'FrmEntriesController::menu', 12 ); add_filter( 'set-screen-option', 'FrmEntriesController::save_per_page', 10, 3 ); add_filter( 'update_user_metadata', 'FrmEntriesController::check_hidden_cols', 10, 5 ); add_action( 'updated_user_meta', 'FrmEntriesController::update_hidden_cols', 10, 4 ); // Form Actions Controller. if ( FrmAppHelper::is_admin_page( 'formidable' ) ) { add_action( 'frm_before_update_form_settings', 'FrmFormActionsController::update_settings' ); add_action( 'frm_add_form_style_tab_options', 'FrmFormsController::add_form_style_tab_options' ); } add_action( 'frm_after_duplicate_form', 'FrmFormActionsController::duplicate_form_actions', 20, 3 ); // Forms Controller. add_action( 'admin_menu', 'FrmFormsController::menu', 10 ); add_action( 'admin_head-toplevel_page_formidable', 'FrmFormsController::head' ); add_action( 'frm_after_field_options', 'FrmFormsController::logic_tip' ); add_filter( 'set-screen-option', 'FrmFormsController::save_per_page', 10, 3 ); add_action( 'admin_footer', 'FrmFormsController::insert_form_popup' ); // Elementor. add_action( 'elementor/editor/footer', 'FrmElementorController::admin_init' ); add_action( 'media_buttons', 'FrmFormsController::insert_form_button' ); add_action( 'et_pb_admin_excluded_shortcodes', 'FrmFormsController::prevent_divi_conflict' ); // Forms Model. add_action( 'frm_after_duplicate_form', 'FrmForm::after_duplicate', 10, 2 ); // Inbox Controller. add_action( 'admin_menu', 'FrmInboxController::menu', 50 ); // Settings Controller. add_action( 'admin_menu', 'FrmSettingsController::menu', 45 ); add_action( 'frm_before_settings', 'FrmSettingsController::license_box' ); add_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' ); add_action( 'wp_ajax_frm_settings_tab', 'FrmSettingsController::load_settings_tab' ); add_action( 'wp_ajax_frm_page_search', 'FrmSettingsController::page_search' ); // Styles Controller. add_action( 'admin_menu', 'FrmStylesController::menu', 14 ); add_action( 'plugins_loaded', 'FrmStylesController::plugins_loaded' ); add_action( 'admin_init', 'FrmStylesController::admin_init' ); add_action( 'wp_default_styles', 'FrmStylesController::disable_conflicting_wp_admin_css', 11 ); // Use 11 so it happens after add_action( 'wp_default_styles', 'wp_default_styles' ); where edit.css is added. // XML Controller. add_action( 'admin_menu', 'FrmXMLController::menu', 41 ); // Simple Blocks Controller. add_action( 'enqueue_block_editor_assets', 'FrmSimpleBlocksController::block_editor_assets' ); add_action( 'admin_init', 'FrmUsageController::schedule_send' ); // Applications Controller. add_action( 'admin_menu', 'FrmApplicationsController::menu', 14 ); // Use the same priority as styles so Applications appear directly under Styles. add_action( 'admin_enqueue_scripts', 'FrmApplicationsController::dequeue_scripts', 15 ); add_action( 'wp_ajax_frm_get_applications_data', 'FrmApplicationsController::get_applications_data' ); // CAPTCHA add_filter( 'frm_setup_edit_field_vars', 'FrmFieldCaptcha::update_field_name' ); FrmSMTPController::load_hooks(); FrmWelcomeController::load_hooks(); new FrmPluginSearch(); } public static function load_ajax_hooks() { add_action( 'wp_ajax_frm_install', 'FrmAppController::ajax_install' ); add_action( 'wp_ajax_frm_uninstall', 'FrmAppController::uninstall' ); add_action( 'wp_ajax_frm_deauthorize', 'FrmAppController::deauthorize' ); // Addons. add_action( 'wp_ajax_frm_addon_activate', 'FrmAddon::activate' ); add_action( 'wp_ajax_frm_addon_deactivate', 'FrmAddon::deactivate' ); add_action( 'wp_ajax_frm_activate_addon', 'FrmAddonsController::ajax_activate_addon' ); add_action( 'wp_ajax_frm_connect', 'FrmAddonsController::connect_pro' ); add_action( 'wp_ajax_frm_install_addon', 'FrmAddonsController::ajax_install_addon' ); // Fields Controller. add_action( 'wp_ajax_frm_load_field', 'FrmFieldsController::load_field' ); add_action( 'wp_ajax_frm_insert_field', 'FrmFieldsController::create' ); add_action( 'wp_ajax_frm_duplicate_field', 'FrmFieldsController::duplicate' ); add_action( 'wp_ajax_frm_delete_field', 'FrmFieldsController::destroy' ); add_action( 'wp_ajax_frm_import_options', 'FrmFieldsController::import_options' ); // Form Actions Controller. add_action( 'wp_ajax_frm_add_form_action', 'FrmFormActionsController::add_form_action' ); add_action( 'wp_ajax_frm_form_action_fill', 'FrmFormActionsController::fill_action' ); // Forms Controller. add_action( 'wp_ajax_frm_save_form', 'FrmFormsController::route' ); add_action( 'wp_ajax_frm_get_default_html', 'FrmFormsController::get_email_html' ); add_action( 'wp_ajax_frm_get_shortcode_opts', 'FrmFormsController::get_shortcode_opts' ); add_action( 'wp_ajax_frm_forms_preview', 'FrmFormsController::preview' ); add_action( 'wp_ajax_nopriv_frm_forms_preview', 'FrmFormsController::preview' ); add_action( 'wp_ajax_frm_forms_trash', 'FrmFormsController::ajax_trash' ); add_action( 'wp_ajax_frm_install_form', 'FrmFormsController::build_new_form' ); add_action( 'wp_ajax_frm_build_template', 'FrmFormsController::build_template' ); add_action( 'wp_ajax_frm_create_page_with_shortcode', 'FrmFormsController::create_page_with_shortcode' ); add_action( 'wp_ajax_get_page_dropdown', 'FrmFormsController::get_page_dropdown' ); add_action( 'wp_ajax_frm_dismiss_migrator', 'FrmFormMigratorsHelper::dismiss_migrator' ); // Inbox. add_action( 'wp_ajax_frm_inbox_dismiss', 'FrmInboxController::dismiss_message' ); // Settings. add_action( 'wp_ajax_frm_lite_settings_upgrade', 'FrmSettingsController::settings_cta_dismiss' ); // Styles Controller. add_action( 'wp_ajax_frm_settings_reset', 'FrmStylesController::reset_styling' ); add_action( 'wp_ajax_frm_change_styling', 'FrmStylesController::change_styling' ); add_action( 'wp_ajax_frmpro_load_css', 'FrmStylesController::load_css' ); add_action( 'wp_ajax_nopriv_frmpro_load_css', 'FrmStylesController::load_css' ); add_action( 'wp_ajax_frmpro_css', 'FrmStylesController::load_saved_css' ); add_action( 'wp_ajax_nopriv_frmpro_css', 'FrmStylesController::load_saved_css' ); add_action( 'wp_ajax_frm_rename_style', 'FrmStylesController::rename_style' ); // XML Controller. add_action( 'wp_ajax_frm_install_template', 'FrmXMLController::install_template' ); add_action( 'wp_ajax_frm_entries_csv', 'FrmXMLController::csv' ); add_action( 'wp_ajax_nopriv_frm_entries_csv', 'FrmXMLController::csv' ); add_action( 'wp_ajax_frm_export_xml', 'FrmXMLController::export_xml' ); // Templates API. add_action( 'wp_ajax_template_api_signup', 'FrmFormTemplateApi::signup' ); } public static function load_form_hooks() { // Fields Controller. add_filter( 'frm_field_type', 'FrmFieldsController::change_type' ); add_action( 'frm_field_input_html', 'FrmFieldsController::input_html' ); add_filter( 'frm_field_value_saved', 'FrmFieldsController::check_value', 50, 3 ); add_filter( 'frm_field_label_seen', 'FrmFieldsController::check_label' ); // Forms Controller. add_filter( 'frm_form_classes', 'FrmFormsController::form_classes' ); add_filter( 'frm_submit_button_class', 'FrmFormsController::update_button_classes' ); add_filter( 'frm_back_button_class', 'FrmFormsController::update_button_classes' ); // Styles Controller. add_filter( 'frm_use_important_width', 'FrmStylesController::important_style', 10, 2 ); } public static function load_view_hooks() { // Hooks go here when a view is loaded. } public static function load_multisite_hooks() { add_action( 'wpmu_upgrade_site', 'FrmAppController::network_upgrade_site' ); // Drop tables when mu site is deleted. add_filter( 'wpmu_drop_tables', 'FrmAppController::drop_tables' ); } /** * @deprecated 5.0.06 use FrmElementorController::register_elementor_hooks directly. */ public static function register_elementor_hooks() { _deprecated_function( __FUNCTION__, '5.0.06', 'FrmElementorController::register_elementor_hooks' ); FrmElementorController::register_elementor_hooks(); } }
Fatal error: Uncaught Error: Class "FrmHooksController" not found in /htdocs/wp-content/plugins/formidable.old/formidable.php:45 Stack trace: #0 /htdocs/wp-includes/class-wp-hook.php(310): load_formidable_forms('') #1 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /htdocs/wp-settings.php(495): do_action('plugins_loaded') #4 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #5 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #6 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #7 /htdocs/index.php(17): require('/htdocs/wp-blog...') #8 {main} thrown in /htdocs/wp-content/plugins/formidable.old/formidable.php on line 45