automator_filter_input( null $variable = null, $type = INPUT_GET, $flags = FILTER_SANITIZE_STRING )
Get the $_POST/$_GET/$_REQUEST variable
Parameters #Parameters
- $type
-
(Optional)
Default value: INPUT_GET
- $variable
-
(Optional)
Default value: null
- $flags
-
(Optional)
Default value: FILTER_SANITIZE_STRING
Return #Return
(mixed)
Source #Source
File: src/global-functions.php
function automator_filter_input( $variable = null, $type = INPUT_GET, $flags = FILTER_SANITIZE_STRING ) { /* * View input types: https://www.php.net/manual/en/function.filter-input.php * View flags at: https://www.php.net/manual/en/filter.filters.sanitize.php */ return filter_input( $type, $variable, $flags ); }
Expand full source code Collapse full source code View on Github
Related #Related
Used By #Used By
Used By | Description |
---|---|
src/integrations/gototraining/settings/gototraining-settings.php: GoToTraining_Settings::output() |
Creates the output of the settings page |
src/integrations/gototraining/helpers/gototraining-helpers.php: Gototraining_Helpers::validate_oauth_tokens() |
Callback function for OAuth redirect verification. |
src/integrations/gototraining/helpers/gototraining-helpers.php: Gototraining_Helpers::disconnect() |
Disconnect the current connect by removing the options saved in wp_options. |
src/integrations/active-campaign/helpers/active-campaign-helpers.php: Active_Campaign_Helpers::maybe_handle_switch() |
maybe_handle_switch |
src/integrations/active-campaign/helpers/active-campaign-helpers.php: Active_Campaign_Helpers::sync_tags() |
Get all active campaign tags. |
src/integrations/active-campaign/helpers/active-campaign-helpers.php: Active_Campaign_Helpers::sync_contact_fields() |
Get all active campaign contact fields. |
src/integrations/active-campaign/helpers/active-campaign-helpers.php: Active_Campaign_Helpers::sync_lists() |
Get all the list from active campaign. |
src/integrations/facebook/settings/settings-facebook.php: Facebook_Settings::output() |
Creates the output of the settings page |
src/integrations/mailchimp/settings/settings-mailchimp.php: Mailchimp_Settings::output() |
Creates the output of the settings page |
src/integrations/memberpress-courses/helpers/memberpress-courses-helpers.php: Memberpress_Courses_Helpers::select_lesson_from_course_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/zoom-webinar/helpers/zoom-webinar-helpers.php: Zoom_Webinar_Helpers::api_get_webinar_questions() |
api_get_webinar_questions |
src/integrations/twitter/settings/settings-twitter.php: Twitter_Settings::output() |
Creates the output of the settings page |
src/integrations/twitter/helpers/twitter-helpers.php: Twitter_Helpers::is_current_settings_tab() |
is_current_settings_tab |
src/integrations/twitter/helpers/twitter-helpers.php: Twitter_Helpers::disconnect() |
disconnect |
src/integrations/gotowebinar/settings/gotowebinar-settings.php: GoToWebinar_Settings::output() |
Creates the output of the settings page |
src/integrations/gotowebinar/helpers/gotowebinar-helpers.php: Gotowebinar_Helpers::validate_oauth_tokens() |
Callback function for OAuth redirect verification. |
src/integrations/gotowebinar/helpers/gotowebinar-helpers.php: Gotowebinar_Helpers::disconnect() |
Disconnect the current connect by removing the options saved in wp_options. |
src/integrations/ameliabooking/helpers/ameliabooking-helpers.php: Ameliabooking_Helpers::ameliabooking_service_category_endpoint() |
Callback method to wp_ajax_ameliabooking_service_category_endpoint. |
src/integrations/google-calendar/settings/settings-google-calendar.php: Google_Calendar_Settings::output() |
Creates the output of the settings page |
src/integrations/google-calendar/helpers/google-calendar-helpers.php: Google_Calendar_Helpers::disconnect_user() |
Method disconnect_user. |
src/integrations/google-calendar/helpers/google-calendar-helpers.php: Google_Calendar_Helpers::list_calendars() |
Method list_calendars. |
src/integrations/google-calendar/helpers/google-calendar-helpers.php: Google_Calendar_Helpers::list_events() |
Method list_events. |
src/integrations/google-calendar/helpers/google-calendar-helpers.php: Google_Calendar_Helpers::automator_google_calendar_process_code_callback() |
Method automator_google_calendar_process_code_callback. |
src/integrations/google-sheet/settings/settings-google-sheet.php: Google_Sheet_Settings::output() |
Creates the output of the settings page |
src/integrations/slack/settings/settings-slack.php: Slack_Settings::output() |
Creates the output of the settings page |
src/integrations/slack/helpers/slack-helpers.php: Slack_Helpers::is_current_settings_tab() |
Method is_current_settings_tab |
src/integrations/slack/helpers/slack-helpers.php: Slack_Helpers::disconnect() |
Method disconnect |
src/integrations/zoom/helpers/zoom-helpers.php: Zoom_Helpers::api_get_meeting_questions() |
api_get_meeting_questions |
src/integrations/tutorlms/helpers/tutorlms-helpers.php: Tutorlms_Helpers::select_lesson_from_course_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/facebook-groups/settings/settings-facebook-groups.php: Facebook_Group_Settings::output() |
Creates the output of the settings page |
src/integrations/facebook-groups/helpers/facebook-groups-helpers.php: Facebook_Groups_Helpers::list_groups() |
Endpoint wp_ajax callback. List all groups. |
src/integrations/hubspot/settings/settings-hubspot.php: Hubspot_Settings::output() |
Creates the output of the settings page |
src/integrations/peepso/triggers/peepso-userfollowsauser.php: PeepSo_USERFOLLOWSAUSER::user_follows_user() |
Validation function when the trigger action is hit |
src/integrations/peepso/triggers/peepso-userupdatespecificfield.php: PeepSo_USERUPDATESPECIFICFIELD::profile_update() |
Validation function when the trigger action is hit |
src/integrations/hubspot/helpers/hubspot-helpers.php: Hubspot_Helpers::capture_oauth_tokens() |
Capture tokens returned by Automator API. |
src/integrations/hubspot/helpers/hubspot-helpers.php: Hubspot_Helpers::disconnect() |
disconnect |
src/core/classes/class-usage-reports.php: Usage_Reports::is_forced() |
is_forced |
src/core/lib/settings/trait-premium-integrations.php: Premium_Integrations::is_current_page_settings() |
Determines whether the user is currently in the Settings page of the integration |
src/core/admin/class-admin-menu.php: Admin_Menu::integrations_get_id_from_url() |
Returns the integration ID defined in the URL |
src/core/admin/class-admin-menu.php: Admin_Menu::integrations_template_load_archive() |
Loads the archive view of the integrations page |
src/core/admin/class-admin-menu.php: Admin_Menu::maybe_redirect_to_first_settings_tab() | |
src/core/admin/setup-wizard/setup-wizard.php: Setup_Wizard::get_step() | |
src/core/admin/setup-wizard/setup-wizard.php: Setup_Wizard::get_steps() | |
src/core/admin/setup-wizard/setup-wizard.php: Setup_Wizard::redirect_if_connected() | |
src/core/admin/admin-settings/admin-settings.php: Admin_Settings::submenu_page_output() |
Creates the output of the “Settings” page |
src/core/admin/setup-wizard/setup-wizard.php: Setup_Wizard::enqueue_styles() | |
src/core/admin/admin-settings/tabs/premium-integrations.php: Admin_Settings_Premium_Integrations::tab_output() |
Outputs the content of the “Premium integrations” tab |
src/core/admin/admin-settings/tabs/general.php: Admin_Settings_General::tab_output() |
Outputs the content of the “General” tab |
src/core/admin/notifications/notifications.php: Automator_Notifications::dismiss() |
Dismiss notification via AJAX. |
src/core/admin/notifications/notifications.php: Automator_Notifications::hooks() |
Register hooks. |
src/core/admin/class-activity-log.php: Activity_Log::remove_specific_run() |
Remove a specific run from DB |
src/core/admin/class-activity-log.php: Activity_Log::remove_specific_recipe_runs() |
Remove all logs of a specific recipe |
src/integrations/learndash/tokens/ld-tokens.php: Ld_Tokens::ld_tokens() | |
src/core/admin/class-wpforms-provider.php: WPForms_Uncanny_Automator::builder_output_after() |
Output content after the main builder output. |
src/core/admin/class-wpforms-provider.php: WPForms_Uncanny_Automator::is_integrations_page() |
Check if the user is on the integrations page. |
src/core/admin/class-wpforms-provider.php: WPForms_Uncanny_Automator::is_marketing_page() |
Check if the user is on the marketing page. |
src/core/admin/class-wpforms-provider.php: WPForms_Uncanny_Automator::builder_sidebar() | |
src/core/admin/class-prune-logs.php: Prune_Logs::maybe_purge_logs() | |
src/integrations/facebook/helpers/facebook-helpers.php: Facebook_Helpers::automator_integration_facebook_capture_token_fetch_user_pages() |
Fetches the user pages from Automator api to user’s website using his token. |
src/integrations/instagram/helpers/instagram-helpers.php: Instagram_Helpers::automator_integration_instagram_capture_token_fetch_user_pages() |
Fetches the user pages from Automator api to user’s website using his token. |
src/integrations/instagram/helpers/instagram-helpers.php: Instagram_Helpers::automator_integration_instagram_capture_token_fetch_instagram_accounts() | |
src/integrations/mailchimp/helpers/mailchimp-helpers.php: Mailchimp_Helpers::validate_oauth_tokens() |
Callback function for OAuth redirect verification. |
src/integrations/mailchimp/helpers/mailchimp-helpers.php: Mailchimp_Helpers::get_mailchimp_audience_fields() |
Ajax callback for loading audience list related merge fields. |
src/integrations/slack/helpers/slack-helpers.php: Slack_Helpers::capture_oauth_tokens() |
Captures oauth tokens after the redirect from Slack |
src/integrations/google-sheet/helpers/google-sheet-helpers.php: Google_Sheet_Helpers::validate_oauth_tokens() |
Callback function for OAuth redirect verification. |
src/integrations/google-sheet/helpers/google-sheet-helpers.php: Google_Sheet_Helpers::get_worksheet_rows_gsspreadsheet() |
Method get_worksheet_rows_gsspreadsheet |
src/integrations/wp/helpers/wp-helpers.php: Wp_Helpers::select_posts_by_post_type() |
Return all the specific fields of post type in ajax call |
src/core/admin/class-admin-menu.php: Admin_Menu::update_automator_connect() | |
src/core/lib/helpers/class-automator-cache-handler.php: Automator_Cache_Handler::remove_all_cache() | |
src/integrations/masterstudy-lms/triggers/masterstudy-quizpassed.php: MASTERSTUDY_QUIZPASSED::quiz_passed() |
Validation function when the trigger action is hit |
src/integrations/masterstudy-lms/triggers/masterstudy-lessondone.php: MASTERSTUDY_LESSONDONE::lesson_completed() |
Validation function when the trigger action is hit |
src/integrations/masterstudy-lms/triggers/masterstudy-quizfailed.php: MASTERSTUDY_QUIZFAILED::quiz_failed() |
Validation function when the trigger action is hit |
src/integrations/caldera-forms/tokens/cf-tokens.php: Cf_Tokens::parse_cf_token() | |
src/integrations/learnpress/helpers/learnpress-helpers.php: Learnpress_Helpers::select_lesson_from_section_func() |
Return all the lessons of section ID provided in ajax call |
src/integrations/learnpress/helpers/learnpress-helpers.php: Learnpress_Helpers::select_section_from_course_func() |
Return all the sections of course ID provided in ajax call |
src/integrations/ultimate-member/tokens/um-tokens.php: Um_Tokens::um_token() |
Parse the tokens. |
src/integrations/wp-job-manager/triggers/wpjm-jobapplication.php: WPJM_JOBAPPLICATION::new_job_application() | |
src/integrations/buddypress/helpers/buddypress-helpers.php: Buddypress_Helpers::select_topic_fields_func() |
Return all the specific topics of a forum in ajax call |
src/integrations/wp-polls/triggers/wpp-pollsubmit.php: WPP_POLLSUBMIT::poll_success() | |
src/integrations/fluent-crm/helpers/fluent-crm-helpers.php: Fluent_Crm_Helpers::get_attached_list_ids() | |
src/integrations/fluent-crm/helpers/fluent-crm-helpers.php: Fluent_Crm_Helpers::get_attached_tag_ids() | |
src/integrations/twitter/helpers/twitter-helpers.php: Twitter_Helpers::capture_oauth_tokens() |
Captures oauth tokens after the redirect from Twitter |
src/integrations/contact-form7/tokens/cf7-tokens.php: Cf7_Tokens::get_data_from_contact_form() | |
src/integrations/learndash/helpers/learndash-helpers.php: Learndash_Helpers::select_lesson_from_course_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/learndash/helpers/learndash-helpers.php: Learndash_Helpers::lesson_from_course_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/learndash/helpers/learndash-helpers.php: Learndash_Helpers::topic_from_lesson_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/gamipress/helpers/gamipress-helpers.php: Gamipress_Helpers::select_achievements_from_types_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/gamipress/helpers/gamipress-helpers.php: Gamipress_Helpers::select_ranks_from_types_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/wp/helpers/wp-helpers.php: Wp_Helpers::select_post_type_taxonomies() |
Return all the specific taxonomies of selected post type in ajax call |
src/integrations/wp/helpers/wp-helpers.php: Wp_Helpers::select_terms_for_selected_taxonomy() |
Return all the specific terms of the selected taxonomy in ajax call |
src/integrations/wp/helpers/wp-helpers.php: Wp_Helpers::select_custom_post_func() |
Return all the specific fields of post type in ajax call |
src/integrations/badgeos/helpers/badgeos-helpers.php: Badgeos_Helpers::select_achievements_from_types_func() |
Return all the specific fields of a form ID provided in ajax call |
src/integrations/badgeos/helpers/badgeos-helpers.php: Badgeos_Helpers::select_ranks_from_types_func() |
Return all the specific fields of a form ID provided in ajax call |
src/core/admin/class-admin-menu.php: Admin_Menu::modify_report_titles() | |
src/core/admin/class-copy-recipe-parts.php: Copy_Recipe_Parts::copy_recipe_parts() | |
src/core/admin/class-activity-log.php: Activity_Log::load_recipe_actions() |
Ajax load triggers for recipe |
src/core/admin/class-activity-log.php: Activity_Log::load_minimal_admin() |
Adds inline style to admin head. |
src/core/admin/class-activity-log.php: Activity_Log::add_log_scripts() |
Add log scripts. |
src/core/admin/class-activity-log.php: Activity_Log::load_recipe_triggers() |
Ajax load triggers for recipe |
src/core/admin/class-automator-review.php: Automator_Review::save_review_settings_action() |
Callback for saving user selection for review by querystring. |
src/core/admin/class-admin-menu.php: Admin_Menu::options_menu_settings_page_output() | |
src/core/classes/class-populate-from-query.php: Populate_From_Query::add_trigger_value() |
Populates the POST array with the data and adds trigger value. |
src/core/classes/class-populate-from-query.php: Populate_From_Query::is_authorized() |
Checks the nonce and capabilities. |
src/core/classes/class-populate-from-query.php: Populate_From_Query::populate() |
Populates the recipe. |
src/core/classes/class-populate-from-query.php: Populate_From_Query::add_trigger() |
Populates the POST array with the data and adds a trigger. |
src/core/lib/helpers/class-automator-recipe-helpers.php: Automator_Helpers_Recipe::maybe_load_trigger_options() | |
src/core/lib/helpers/class-automator-recipe-helpers.php: Automator_Helpers_Recipe::is_rest() |
Checks if the current request is a WP REST API request. |
src/core/lib/helpers/class-automator-recipe-helpers.php: Automator_Helpers_Recipe::is_edit_page() |
is_edit_page function to check if the current page is a post edit page |
src/core/admin/class-logs-list-table.php: Logs_List_Table::prepare_items() |
Prepare items/data |
src/core/admin/class-logs-list-table.php: Logs_List_Table::get_recipe_query() |
Prepare query for recipe |
src/core/admin/class-logs-list-table.php: Logs_List_Table::get_trigger_query() |
Prepare query for triggers |
src/core/admin/class-logs-list-table.php: Logs_List_Table::get_action_query() |
Prepare query for actions |
src/core/admin/class-admin-menu.php: Admin_Menu::settings_tabs() |
Changelog #Changelog
Version | Description |
---|---|
3.0 | Introduced. |