WFFN_Optin_Pages D

Total Complexity 377
Dependencies 14
Dependents 6
Total lines 2,467
Lines of code 1,941
Logical lines of code 815
Comment lines 165
Methods 92
Properties 14

Methods 92

Method Rating Maintainability Complexity Lines of code
add_field()
C
39 26 54
duplicate_optin_page()
B
37 16 73
manage_input_fields()
B
42 17 51
update_actions_settings()
A
44 16 38
update_custom_field()
A
45 14 38
localize_data()
A
29
5 150
delete_custom_field()
A
47 12 34
localize_text_data()
A
27
1 197
product_search()
A
44 9 42
all_global_settings_fields()
A
33 3 129
get_form_field_width()
A
52 9 24
maybe_export_optin_form()
A
47 8 35
get_template_url()
A
48 7 34
process_url()
S
65 9 8
add_cpt_post_names_to_main_query()
S
56 7 18
optin_page_frontend_scripts()
S
55 7 17
update_global_settings_fields()
S
56 7 16
update_custom_settings()
S
56 7 16
register_template_type()
S
58 7 15
load_assets()
S
48 5 32
parse_request_for_optin()
S
59 6 13
post_type_permalinks()
S
59 6 13
get_page_layout()
S
43 3 53
save_design()
S
53 5 23
register_native_templates()
S
48 4 34
import_template()
S
55 5 18
page_search()
S
55 5 17
add_elementor_page_templates()
S
57 5 16
update_page_design()
S
58 5 15
validate_product()
S
57 5 15
setup_optin_form_integration_options()
S
64 6 8
save_layout()
S
55 4 19
get_optin_pages()
S
57 4 18
update_optin_page()
S
55 4 17
testing_email()
S
57 4 16
merge_custom_fields()
S
59 4 15
maybe_add_js_localized()
S
59 4 14
toggle_state()
S
58 4 14
form_save()
S
60 4 12
remove_design()
S
52 3 25
get_default_steps_fields()
S
54 3 22
get_optin_fields()
S
44 1 52
register_post_type()
S
47 2 36
localize_action_data()
S
44 1 51
setup_action_options()
S
66 4 7
get_action_option()
S
65 4 9
get_custom_option()
S
65 4 9
get_option()
S
65 4 9
get_optin_id()
S
67 4 7
get_optin_form_integration_option()
S
65 4 9
__construct()
S
43 1 44
no_conflict_mode_script()
S
52 2 27
may_be_change_template()
S
68 3 7
register_template()
S
71 3 5
get_page_custom_fields()
S
67 3 7
setup_options()
S
68 3 6
get_user_role()
S
62 2 12
get_optin_form_groups()
S
57 1 20
default_actions_settings()
S
57 1 18
default_global_settings()
S
57 1 18
get_instance()
S
72 2 6
get_embed_mode()
S
70 2 6
maybe_handle_preview()
S
63 2 10
set_id()
S
74 2 5
send_resp()
S
68 2 7
update_page_layout()
S
67 2 7
add_optin_as_contact_child()
S
72 2 5
set_page_template()
S
70 2 6
get_module_title()
S
77 2 3
get_page_design()
S
68 2 7
maybe_register_breadcrumb_nodes()
S
67 2 8
update_page_custom_fields()
S
71 2 6
get_inherit_supported_post_type()
S
79 1 3
get_id()
S
82 1 3
get_template_settings()
S
80 1 3
get_base_url_args()
S
73 1 5
get_layout()
S
73 1 5
get_open_popup_url()
S
80 1 3
add_optin_fronted_style()
S
65 1 9
wffn_add_unique_class()
S
77 1 4
get_status()
S
76 1 4
get_cloud_template_step_slug()
S
82 1 3
get_edit_id()
S
82 1 3
load_compatibility()
S
73 1 5
get_module_path()
S
79 1 3
default_design_data()
S
69 1 7
get_template_filter()
S
70 1 6
default_optin_integration_settings()
S
68 1 8
default_custom_settings()
S
64 1 10
is_wfop_page()
S
82 1 3
get_post_type_slug()
S
82 1 3
add_global_settings_fields()
S
76 1 4