BWFAN_Common D

Total Complexity 1,822
Dependencies 80
Dependents 145
Total lines 11,039
Lines of code 7,822
Logical lines of code 3,866
Comment lines 1,717
Methods 343
Properties 26

Methods 343

Method Rating Maintainability Complexity Lines of code
get_setting_schema()
D
4
37 1,020
maybe_create_abandoned_contact()
D
31 47 86
get_global_data()
D
35 40 69
get_all_automations()
C
31 29 102
send_test_email()
C
32 29 94
run_global_tools()
C
30 25 119
remove_actions()
C
43 26 43
get_all_actions_names()
B
40 22 53
bwfan_bulk_action()
B
37 20 70
is_load_admin_assets()
B
46 22 34
perform_bulk_action()
B
36 19 74
bwfan_remove_abandoned_cart_tags()
B
43 21 44
get_unsubscribers()
A
43 15 41
add_user_consent_after_terms_and_conditions()
A
41 14 54
get_end_reason_message()
A
41 14 51
display_marketing_optin_checkbox()
A
46 15 34
maybe_create_update_contact()
A
47 15 32
bwf_has_action_scheduled()
A
43 14 46
get_lk_data()
A
47 14 30
parse_default_merge_tags()
A
47 13 36
wc_add_to_cart()
A
43 12 47
get_pro_license()
A
48 13 29
add_lost_cart_tags()
A
48 13 29
delete_automation_tasks_by_unique_action_ids()
A
50 13 26
filter_actions_conditions()
A
48 12 34
bwfan_goal_step_updated()
A
43 11 46
get_permalink_by_language()
A
44 11 44
get_connector_license()
A
49 12 29
get_product_image_url()
A
51 12 25
check_for_lks()
A
46 11 39
maybe_run_v2_automations()
A
45 11 39
get_bounce_settings_schema()
A
38 8 83
bwfan_run_event_queue()
A
47 11 32
bwfan_conversions_index()
A
43 10 47
modify_step_admin_data()
A
51 11 29
update_contact_meta()
A
49 11 28
append_extra_url_arguments()
A
52 11 24
initial_parse_merge_tags()
A
52 11 24
validate_string()
A
47 10 38
get_order_language()
A
55 11 18
extend_async_capture()
A
50 10 27
get_phone_from_order()
A
52 10 26
get_unsubscribe_link()
A
51 10 24
update_meta_automations_v2()
A
46 9 38
run_worker_tasks()
A
51 10 22
validate_action_date_before_save()
A
54 10 21
get_formatted_price_wc()
A
48 9 33
get_step_by_trail()
A
54 10 18
sort_actions()
A
56 10 17
get_automation_by_title()
A
48 9 31
plugin_dependency_nice_names()
A
51 9 29
replace_merge_tags()
A
50 9 25
get_difference_string()
A
53 9 24
set_uid_in_cookies()
A
52 9 24
capture_async_helper()
A
52 9 23
get_link_options_for_tasks()
A
42 7 53
get_automation_contacts()
A
52 9 22
as_pre_init_cli_v2_cb()
A
53 9 22
as_pre_init_cli_cb()
A
53 9 22
get_site_current_language()
A
54 9 20
wc_get_cart_recovery_url()
A
53 9 20
human_interval()
A
43 7 48
search_products()
A
48 8 31
get_notification_settings_schema()
A
33 1 136
bwfan_automation_step_deleted()
A
44 7 46
get_block_editor_default_setting()
A
33 1 135
update_automation_contact_fields()
A
49 8 30
insert_default_crm_fields()
A
45 7 40
remove_extra_automation_data()
A
54 8 24
add_test_utm_params()
A
52 8 24
get_v1_supported_mergetag()
A
54 8 22
is_unsubscribe_page_valid()
A
52 8 22
validate_create_order_event_setting()
A
53 8 21
bwfan_delay_step_updated()
A
47 7 35
update_generated_increment()
A
55 8 19
get_latest_order_by_email()
A
48 7 34
check_nonce()
A
54 8 19
end_v2_automation()
A
48 7 33
get_global_email_settings()
A
49 7 33
get_user()
A
57 8 18
get_whatsapp_services_fields()
S
42 5 59
product_search()
S
49 7 29
save_marketing_status_for_user()
S
52 7 25
get_automation_actions()
S
52 7 23
bwfan_run_cron_test()
S
51 7 23
get_default_event_action_names()
S
32 1 111
get_product_image()
S
53 7 20
maybe_clear_cache()
S
56 7 20
sort_automations()
S
56 7 19
get_default_global_settings()
S
39 4 63
fetch_merge_tags()
S
48 6 33
delete_expired_autonami_coupons()
S
48 6 33
merge_default_actions()
S
56 7 17
woocommerce_order_status_failed()
S
56 7 17
is_exclude_url()
S
45 5 45
save_order_meta()
S
49 6 30
remove_back_slash_from_automation()
S
58 7 14
create_contact()
S
60 7 13
validate_core_worker()
S
49 6 28
get_formatting_for_wc_price()
S
60 7 11
run_as_ct_v2_worker()
S
50 6 25
remove_duplicate_actions()
S
46 5 40
get_contact_status()
S
52 6 24
filter_tasks()
S
52 6 24
delete_bwfan_logs()
S
54 6 21
remove_aid_from_contact_field()
S
54 6 21
get_abandoned_totals()
S
53 6 21
bwfan_store_automation_active_ids()
S
47 5 35
bwfan_store_automation_completed_ids()
S
47 5 35
get_automations_for_contact()
S
54 6 20
deactivation()
S
59 6 17
plugin_dependency_check()
S
56 6 17
get_prices_with_tax()
S
58 6 16
get_autonami_notifications()
S
59 6 15
get_updated_tags_and_list()
S
58 6 15
get_formatted_product_name()
S
56 6 15
get_updated_tags_and_list_conditions()
S
58 6 14
is_sandbox_mode_active()
S
60 6 13
fetch_updated_data()
S
61 6 12
attach_default_merge_to_events()
S
61 6 12
auto_apply_wc_coupon()
S
61 6 11
get_contact_columns()
S
44 3 56
send_remote_call()
S
52 5 24
delete_old_abandoned_carts()
S
52 5 23
search_automation_by_title()
S
52 5 23
get_select_options()
S
54 5 22
get_all_events_merge_tags()
S
54 5 21
bwfan_automation_all_contact_bulk_action()
S
54 5 20
bwfan_automation_contact_bulk_action()
S
54 5 20
capture_async_events()
S
55 5 19
get_parsed_time()
S
55 5 18
log_l2_data()
S
57 5 17
get_lists_for_preferences()
S
58 5 17
checking_all_tables_exists()
S
56 5 17
maybe_remove_aid_from_contact_fields()
S
57 5 17
get_customer_order_count()
S
56 5 16
check_for_abandoned_carts()
S
57 5 16
set_cookie()
S
63 6 9
is_whatsapp_services_enabled()
S
63 6 10
run_as_ct_worker()
S
57 5 15
get_coupon()
S
50 4 29
get_contact_full_number()
S
59 5 14
validate_string_multi()
S
60 5 13
add_ordinal_number_suffix()
S
60 5 13
as_pre_init_v2_cb()
S
60 5 12
as_pre_init_cb()
S
61 5 11
fetch_last_refund_of_contact()
S
52 4 24
get_automations_filter_data()
S
53 4 22
get_membership_plans()
S
54 4 22
bulk_contact_automation_end()
S
54 4 21
decode_merge_tags()
S
54 4 21
order_status_change()
S
53 4 21
get_lists_preference_schema()
S
45 2 50
get_default_actions()
S
40 1 65
delete_automations()
S
55 4 19
maybe_delete_unsubscribe_rows()
S
56 4 19
get_contact_data_counts()
S
56 4 18
init()
S
39 1 62
get_store_aov()
S
61 5 10
get_wp_user_id_from_order()
S
65 5 9
get_entity_nice_name()
S
63 5 10
get_email_from_order()
S
65 5 9
create_token()
S
58 4 15
delete_abandoned_cart_tasks()
S
59 4 14
get_paid_orders_count()
S
59 4 14
get_schedule_task_by_phone()
S
58 4 14
log_test_data()
S
59 4 14
get_schedule_task_by_email()
S
58 4 14
get_unsubscribe_page_hint_text()
S
58 4 13
validate_scheduled_recurring_actions()
S
52 3 28
get_contact_status_array_list()
S
44 1 58
get_block_editor_settings()
S
60 4 13
get_variation_attribute()
S
60 4 13
merge_pro_events()
S
59 4 13
get_regex_pattern()
S
61 4 13
get_automation_contacts_journey()
S
61 4 12
get_merge_tags_from_text()
S
62 4 11
get_subscription_pre_data()
S
62 4 11
delete_expired_dynamic_coupons()
S
55 3 21
delete_engagement_tracking_meta_tool_action()
S
55 3 21
bwfan_lost_cart_triggered()
S
53 3 20
get_subscription_product()
S
55 3 19
get_default_connector()
S
47 1 46
get_automation_selected_action_slugs()
S
57 3 16
get_carts_count()
S
62 4 10
get_db_cache_data()
S
64 4 10
is_automation_v1_active()
S
67 4 7
get_membership_pre_data()
S
64 4 10
get_sorted_automations()
S
65 4 9
correct_shortcode_string()
S
64 4 8
default_events()
S
47 1 45
bwfan_update_contact_trail()
S
58 3 15
bwfan_before_send_mail()
S
70 4 5
mark_abandoned_lost_cart()
S
65 4 9
array_equal()
S
76 4 3
get_user_consent_message_in_site_language()
S
68 4 6
event_cb_advanced_log_enabled()
S
65 4 9
is_cart_abandonment_active()
S
67 4 7
make_array()
S
73 4 4
get_cid_from_contact()
S
64 4 10
get_automation_data_count()
S
50 2 29
maybe_get_user_country_code()
S
61 3 13
mark_automation_require_update()
S
60 3 13
prepared_field_options()
S
61 3 12
add_plugin_endpoint()
S
48 1 42
worker_as_run()
S
63 3 11
run_autonami_cron_events()
S
62 3 11
get_order_cross_sells()
S
62 3 11
get_all_events_rules()
S
62 3 11
create_abandoned_cart()
S
47 1 35
get_default_merge_tags()
S
54 2 20
get_notification_week_range()
S
57 2 17
get_contact_notes_type()
S
51 1 32
get_seconds_from_time_format()
S
65 3 8
is_autonami_page()
S
69 3 6
get_nearest_date()
S
63 3 10
is_rest()
S
70 3 6
is_cron()
S
70 3 6
is_cli()
S
71 3 6
get_or_create_terms()
S
59 2 15
get_automation_contact_field_value()
S
63 3 10
bwfan_clean()
S
68 3 7
get_completed_contacts()
S
64 3 9
order_status_change_async_capture()
S
63 3 10
unset_db_cache_key()
S
65 3 9
modify_display_numbers()
S
66 3 9
maybe_set_bwf_ct_worker()
S
67 3 8
get_logging_status()
S
73 3 4
automation_status_count()
S
67 3 7
get_automation_event_name()
S
64 3 10
ac_increase_max_execution_time()
S
68 3 7
event_advanced_logs()
S
63 3 10
get_automation_source_name()
S
64 3 10
get_provider_value()
S
68 3 7
is_pro_3_0()
S
76 3 3
ac_increase_queue_batch_size()
S
68 3 7
insert_automations()
S
59 2 14
get_skip_conversion_automations()
S
60 2 12
fetch_last_order_by_contact()
S
61 2 12
strip_merge_tags()
S
61 2 12
modify_as_filters()
S
53 1 26
set_email_cart_aborted()
S
63 2 11
make_custom_events_time()
S
56 1 19
get_tables_array()
S
58 1 17
get_fk_site_links()
S
56 1 17
get_notification_month_range()
S
57 1 16
http()
S
71 2 6
maybe_convert_html_tag()
S
66 2 8
pc()
S
70 2 6
get_sidebar_menu()
S
59 1 15
update_contact_wp_id()
S
67 2 8
string2hex()
S
67 2 7
get_timezone_offset()
S
64 2 9
set_db_cache_data()
S
67 2 8
get_push_services()
S
74 2 4
set_automation_ended_reason()
S
69 2 6
array_flatten()
S
68 2 7
get_country_name()
S
67 2 8
get_formatted_value_for_dbquery()
S
77 2 3
crm_error()
S
68 2 7
get_email_services()
S
74 2 4
nocache_headers()
S
66 2 9
is_contact_in_automation()
S
67 2 7
override_non_changeable_settings()
S
66 2 9
get_whatsapp_services()
S
74 2 4
get_shortener_services()
S
74 2 4
get_sms_services()
S
74 2 4
get_email_abandoned()
S
64 2 9
fetch_inner_most_tag()
S
64 2 9
get_callable_object()
S
67 2 7
get_automation_task_details()
S
64 2 10
bwf_check_to_skip_child_order()
S
77 2 3
get_bwf_customer()
S
68 2 7
is_json()
S
68 2 7
unique()
S
68 2 8
get_quantity()
S
77 2 3
get_line_subtotal_tax()
S
77 2 3
get_human_readable_time()
S
63 2 9
access_capabilities()
S
71 2 5
get_line_subtotal()
S
77 2 3
clear_cookie()
S
71 2 5
get_cookie()
S
77 2 3
bwfan_update_order_user_consent()
S
71 2 5
find_closest()
S
65 2 9
bwfan_get_datestring()
S
69 2 6
delete_order_meta()
S
64 2 10
maybe_modify_recovery_link()
S
70 2 6
update_automation_status()
S
70 2 6
get_admin_analytics_cache_lifespan()
S
73 2 4
supports_emogrifier()
S
77 2 3
add_default_merge_tags()
S
68 2 7
color_light_or_dark()
S
78 2 3
get_notification_day_range()
S
61 1 12
bwfan_recipe_list_template()
S
73 1 5
format_success_response()
S
69 1 7
wp_redirect()
S
74 1 5
hit_cron_to_run_tasks()
S
72 1 5
get_global_settings()
S
69 1 6
get_default_shortener_provider()
S
72 1 5
get_date_format()
S
77 1 3
bwf_after_action_scheduler_load()
S
79 1 3
get_countries_data()
S
72 1 5
update_abandoned_rows()
S
64 1 9
add_schedules()
S
68 1 7
hide_free_products_cart_order_items()
S
79 1 3
is_conversion_empty()
S
72 1 5
get_default_email_provider()
S
72 1 5
get_form_submit_events()
S
79 1 3
check_field_exist()
S
69 1 6
color_hex_is_light()
S
64 1 8
get_default_sms_provider()
S
72 1 5
get_default_push_provider()
S
72 1 5
remove_backslashes()
S
78 1 3
get_default_whatsapp_provider()
S
72 1 5
convert_from_gmt()
S
78 1 3
remove_newlines()
S
78 1 3
get_midnight_store_time()
S
66 1 8
save_integration_data()
S
64 1 9
update_integration_data()
S
65 1 9
delete_automation_v1_migrations()
S
73 1 5
delete_automation_v2_migrations()
S
71 1 6
slugify_classname()
S
72 1 5
string()
S
80 1 3
pr()
S
74 1 5
get_store_time()
S
66 1 8
get_order_trashed_statuses()
S
77 1 3
get_funnel_data()
S
68 1 7
get_name()
S
80 1 3
get_actions_filter_data()
S
80 1 3
convert_to_site_time()
S
79 1 3
get_dynamic_string()
S
74 1 4
is_variation()
S
79 1 3
bwf_remove_filter_before_wp_mail()
S
70 1 7
bwfan_correct_protocol_url()
S
66 1 8
convert_to_gmt()
S
78 1 3
set_dynamic_string()
S
79 1 3
disable_product_thumbnail()
S
79 1 3
price()
S
74 1 4
disable_product_link()
S
79 1 3
ping_woofunnels_worker()
S
63 1 10
get_user_country()
S
73 1 5
is_wc_order_goal()
S
71 1 5
get_offer_data()
S
66 1 8