Description
Shortcodes & Functions that will help make your life easier.
Links
Important Stats
- Action Hook Count [verified: 2023.02]: [114] 93 (Not included: 21 Templates) [do_action(]
- Filter Hook Count [verified: ????.??]: [00] 00 (Not included: 00 Templates) [apply_filters(]
Installation
From your WordPress dashboard
- Visit Plugins > Add New
- Search for “LCT Useful Shortcodes & Functions”
- Activate LCT Useful Shortcodes & Functions from your Plugins page
FAQ
none
Contributors & Developers
“LCT Useful Shortcodes & Functions” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “LCT Useful Shortcodes & Functions” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2024.10
Release Date – 14 October 2024
- Added:
- add_action( ‘acf/render_field_settings/type=button_group’, [ $this, ‘render_field_settings_button_group’ ] );
- Removed:
- lct_prep_custom_WP_Post_obj_to_array()
- lct_prep_custom_WP_User_obj_to_array()
2024.09
Release Date – 27 September 2024
- PHP v8.3 Ready
2024.08
Release Date – 11 September 2024
- WP v6.6.2 Ready
- Avada v7.11.10 Ready
- JS Tweaks
- Removed
- lct_org_us()
- lct_org_status_us()
2024.07
Release Date – 16 August 2024
- WP v6.4.5 Ready
- CSS Tweaks
2024.06
Release Date – 3 July 2024
- Added:
- lct_get_WP_UTC_DateTime_from_today()
2024.05
Release Date – 31 May 2024
- JS Tweaks
2024.04
Release Date – 14 May 2024
- WP v6.4.4 Ready
- JS Tweaks
- Improved:
- PDER{}
- Removed:
- add_filter( ‘acf/update_value/type=number’, [ $this, ‘check_min_max’ ], 10, 3 );
- lct_features_theme_chunk{} iFrame support
2024.03
Release Date – 01 April 2024
- Removed:
- add_filter( ‘register_post_type_args’, [ $this, ‘prevent_bad_permalinks’ ], 10, 2 );
- lct_update_status_taxonomy_term_count()
- add_filter( ‘acf/get_fields’, [ $this, ‘acf_get_fields’ ], 10, 2 );
- add_filter( ‘lct/post_types/prevent_bad_permalinks’, [ $this, ‘prevent_bad_permalinks’ ], 10, 3 );
2024.02
Release Date – 13 March 2024
- Added:
- lct_cache_vars()
- Removed:
- add_action( ‘lct_add_tax_to_user_admin_page’, [ $this, ‘add_tax_to_user_admin_page’ ] );
2024.01
Release Date – 01 February 2024
- WP v6.4.3 Ready
- CSS Tweaks
2023.04
Release Date – 03 January 2024
- WP v6.4.2 Ready
- Avada v7.11.3 Ready
- CSS Tweaks
- Added
- add_filter( ‘lct/acf_loaded/load_reference/show_error_log’, [ $this, ‘show_error_log’ ], 10, 2 );
- lct_acf_is_process_shortcodes_needed()
- lct_acf_admin()
- Improved:
- timezone_settings()
- Removed:
- add_action( ‘acf/input/form_data’, [ $this, ‘form_data_nested_field_check’ ], 15 );
2023.03
Release Date – 07 November 2023
- WP v6.3.2 Ready
- Avada v7.11 Ready
- Minor code tweaks
2023.02
Release Date – 07 August 2023
- Added:
- add_filter( ‘acf/init’, [ $this, ‘prepare_fields_for_import_store’ ], 9 );
- lct_acf_is_process_shortcodes_needed()
- Removed:
- add_action( ‘acf/input/form_data’, [ $this, ‘form_data_nested_field_check’ ], 15 );
2023.01
Release Date – 05 April 2023
- Code Reformat
2022.12
Release Date – 09 January 2023
- WP v6.1.1 Ready
2022.11
Release Date – 02 December 2022
- CSS Tweaks
- New Action:
- lct/acf_form/after_acf_form
- Added:
- lct_pre_check_post_id()
2022.10
Release Date – 09 November 2022
- WP v6.1 Ready
- Added:
- lct_acf_public_choices{}pretty_state_abbr_value_list()
- lct_acf_public_choices{}pretty_state_abbr_value_list_data()
- lct_acf_is_field_repeater()
- lct_acf_is_field_clone()
- lct_acf_is_field_seamless_clone()
- P_R_loop()
- lct_acf_get_POST_key_selector_map()
- add_filter( ‘acf/clone_field’, [ $this, ‘clone_field_update_choices’ ], 999, 2 );
- Updated:
- lct_acf_get_POST_values_w_selector_key()
- P_R()
- [lct_get_the_title]
- Improved:
- lct_acf_loaded{}prepare_fields_for_import()
- lct_acf_get_POST_value()
- lct_acf_get_selector()
- lct_clean_acf_repeater()
- Removed:
- lct_acf_is_selector_repeater()
- add_filter( ‘acf/load_field/type=clone’, [ $this, ‘load_field_update_choices_clone’ ] );
2022.9
Release Date – 17 October 2022
- JS Tweaks
- CSS Tweaks
- Updated:
- lct_wp_api_general{}
- lct_acf_form2()
- lct_Avada_admin{}fusion_options_saved()
- lct_Avada_header{}header_layout()
- lct_wp_admin_acf_admin{}check_for_field_issues_duplicate_override()
- lct_wp_admin_admin_loader{}load_admin()
- lct_wp_admin_admin_admin{}check_for_field_issues()
- lct_acf_field_settings{}prepare_field_add_class_selector()
- Improved:
- lct_acf_format_value()
- lct_acf_format_value_radio_display_format()
- lct_api_class{}set_all_cnst()
- Removed:
- lct_wp_api_api{}
- lct_rel_tax()
- lct_rel_post()
- lct_add_rel_term()
- lct_get_rel()
- lct_get_rel_id()
- lct_get_rel_post()
- lct_get_rel_post_id()
- lct_get_rel_tax()
- lct_get_rel_tax_id()
- add_action( ‘wp_enqueue_scripts’, [ $this, ‘fix_google_api_scripts’ ], 999999 );
- add_filter( ‘fusion_element_column_content’, [ $this, ‘prevent_column_element_lazy_loading’ ], 1, 2 );
- add_filter( ‘fusion_element_container_content’, [ $this, ‘prevent_container_element_lazy_loading’ ], 1, 2 );
- add_filter( ‘fusion_attr_image-shortcode-tag-element’, [ $this, ‘prevent_image_element_lazy_loading_deep’ ], 999 );
- add_filter( ‘fusion_shortcode_content’, [ $this, ‘fusion_shortcode_content_fusion_imageframe’ ], 10, 3 );
- add_filter( ‘fusion_element_column_content’, [ $this, ‘reset_column_count’ ], 2, 2 );
- add_action( ‘wp_enqueue_scripts’, [ $this, ‘fix_google_api_scripts’ ], 999999 );
- add_action( ‘load-appearance_page_avada_options’, [ $this, ‘autoload_google_map_api_key’ ] );
- add_action( ‘load-update-core.php’, [ $this, ‘autoload_google_map_api_key’ ] );
- add_filter( ‘pre_update_option_fusion_dynamic_css_posts’, [ $this, ‘fusion_dynamic_css_posts’ ], 10, 3 );
- Removed:
- add_filter( ‘acf/load_field/type=clone’, [ $this, ‘modify_clone’ ] );
- add_filter( ‘lct/check_for_field_issues/duplicate_clone_override’, [ $this, ‘check_for_field_issues_duplicate_clone_override’ ], 10, 2 );
- add_action( ‘acf/render_field_settings/type=clone’, [ $this, ‘render_field_settings_clone’ ] );
- add_filter( ‘acf/prepare_field/type=clone’, [ $this, ‘prepare_field_add_class_selector’ ] );
- add_filter( ‘acf/prepare_field/type=clone’, [ $this, ‘prepare_field_add_clone_width_override’ ] );
- lct_acf_field_settings{}field_setting_clone_override_class_selector()
- lct_acf_field_settings{}field_setting_clone_width_override()
2022.8
Release Date – 19 September 2022
- Updated:
- [lct_acf_form2]
- lct_acf_form2()
2022.7
Release Date – 14 September 2022
- WP v6.0.2 Ready
- JS Tweaks
- Added:
- lct_features_asset_loader{}generate_alert_message_texts()
- lct_features_asset_loader{}api_error_text()
- lct_features_asset_loader{}redirect_page_text()
- lct_implode_html_attributes()
- Updated:
- lct_features_asset_loader{}register_main_scripts()
- Improved:
- lct_api_class{}load_status_of_post_type()
- lct_append_setting()
- lct_wp_api_general{}do_shortcode()
2022.6
Release Date – 8 September 2022
- PHP v8.1 Ready
- WP v6.0.1 Ready
- Avada v7.8.1 Ready
- Updated:
- lct_avada_template_version_router()
- Improved:
- lct_previous_function()
- lct_debug_to_error_log()
- lct_acf_form2()
- lct_acf_format_value()
- get_label()
- [lct_acf]
- lct_acf_instant_save{}non_ajax_add_comment()
- PDER{}send_ereminder()
- lct_acf_field_settings{}update_field_update_choices()
- lct_taxonomies{}disable_status_slug_editing()
- lct_taxonomies{}disable_status_slug_editing_on_term()
2022.5
Release Date – 16 August 2022
- Updated:
- Special AFWP functions
- Improved:
- lct_debug_to_error_log()
- lct_admin_cron{}status_worthy_commit()
- PDER{}send_ereminder()
- lct_acf_loaded{}load_reference()
- lct_features_asset_loader{}register_main_scripts()
- lct_features_asset_loader{}admin_register_main_scripts()
- lct_features_theme_chunk{}wp_enqueue_scripts()
- lct_features_theme_chunk{}ajax_handler()
2022.4
Release Date – 06 June 2022
- WP v5.9.3 Ready
- Added
- add_filter( ‘recovery_mode_email’, ‘lct_mu_recovery_mode_email_override’, 99999, 2 );
- add_filter( ‘lct/check_all_fusion_pages_for_bad_avada_assets’, [ $this, ‘disable_warning_notifications’ ] );
- Improved:
- PDER_Admin{}schedule_reminder()
- [theme_chunk]
- lct_acf_filters_update_value{}timezone_adjust()
- lct_acf_filters_update_value{}timezone_adjust_from_gmt()
- lct_wp_admin_admin_admin{}remove_meta_boxes()
2022.3.1
Release Date – 15 March 2022
- Improved:
- afwp_acf_base64_decode()
2022.3
Release Date – 11 March 2022
- Updated:
- lct_acf_format_value_date_display_format()
- add_action( ‘tool_box’, [ $this, ‘add_tool_boxes’ ] );
- add_action( ‘admin_init’, [ $this, ‘wp_recovery_mode_clear_rate_limit’ ], 999 );
2022.2
Release Date – 07 March 2022
- Added:
- add_filter( ‘lct/check_for_bad_youtubes/check_pages’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/check_for_bad_youtubes/check_posts’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/check_for_bad_youtubes/check_fusion’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/check_for_bad_iframes/check_pages’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/check_for_bad_iframes/check_posts’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/avada/check_for_bad_avada_assets/google_analytics’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/avada/check_for_bad_avada_assets/head_space’, [ $this, ‘disable_warning_notifications’ ] );
- add_filter( ‘lct/avada/check_for_bad_avada_assets/custom_css’, [ $this, ‘disable_warning_notifications’ ] );
- Updated:
- lct_mu{}
- Improved:
- lct_make_status_name()
- lct_acf_format_value_true_false_display_format()
- lct_acf_format_value_taxonomy()
- lct_acf_loaded{}get_group_of_field()
- lct_Avada_admin{}wp_enqueue_styles()
- Moved:
- afwp_acf_base64_decode()
2022.1
Release Date – 15 February 2022
- WP v5.9 Ready
- Avada v7.6 Ready
- New Filter:
- lct/acf_form/shortcode_atts
- Added:
- add_action( ‘acf/input/form_data’, [ $this, ‘add_custom_form_data’ ] );
- lct_acf_default_value()
- lct_acf_default_value_pre_render()
- add_filter( ‘is_protected_endpoint’, ‘__return_true’, 99999 );
- add_filter( ‘recovery_mode_email’, ‘lct_recovery_mode_email’, 99999, 2 );
- add_filter( ‘recovery_mode_email’, ‘lct_mu_recovery_mode_email’, 99999, 2 );
- lct_admin_admin{}force_html_emails()
- lct_admin_admin{}force_email_tag_scale()
- lct_admin_admin{}force_email_tag_filter()
- add_filter( ‘wp_mail_content_type’, [ $this, ‘return_html’ ], 99999 );
- add_filter( ‘new_admin_email_content’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘wp_installed_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘wp_new_user_notification_email_admin’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘wp_new_user_notification_email_admin’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘wp_new_user_notification_email_admin’, [ $this, ‘force_email_tag_1’ ], 99999 );
- add_filter( ‘auto_core_update_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘auto_core_update_email’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘auto_core_update_email’, [ $this, ‘force_email_tag_8’ ], 99999 );
- add_filter( ‘auto_plugin_theme_update_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘auto_plugin_theme_update_email’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘auto_plugin_theme_update_email’, [ $this, ‘force_email_tag_8’ ], 99999 );
- add_filter( ‘automatic_updates_debug_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘automatic_updates_debug_email’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘automatic_updates_debug_email’, [ $this, ‘force_email_tag_8’ ], 99999 );
- add_filter( ‘site_admin_email_change_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘site_admin_email_change_email’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘site_admin_email_change_email’, [ $this, ‘force_email_tag_8’ ], 99999 );
- add_filter( ‘wp_password_change_notification_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘wp_password_change_notification_email’, [ $this, ‘force_email_subject_tag’ ], 99 );
- add_filter( ‘wp_password_change_notification_email’, [ $this, ‘force_email_tag_1’ ], 99999 );
- add_filter( ‘new_user_email_content’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘retrieve_password_message’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘user_request_action_email_content’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘user_confirmed_action_email_content’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘wp_privacy_personal_data_email_content’, [ $this, ‘force_email_html_w_content’ ], 99 );
- add_filter( ‘wp_new_user_notification_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ’email_change_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ’email_change_email’, [ $this, ‘force_email_tag_1’ ], 99999 );
- add_filter( ‘password_change_email’, [ $this, ‘force_email_html_w_mail’ ], 99 );
- add_filter( ‘password_change_email’, [ $this, ‘force_email_tag_1’ ], 99999 );
- Updated:
- PDER{}send_ereminder()
- lct_avada_template_version_router()
- lct_acf_form2()
- [lct_acf_form2]
- lct_features_asset_loader{}admin_register_main_scripts()
- lct_features_asset_loader{}wp_head_last()
- lct_get_fixes_cleanups_message___file_fix_editzz_or()
- Improved:
- lct_api_class{}force_allow_unfiltered_html()
- lct_api_class{}force_allow_cap_unfiltered_html()
- lct_api_class{}load_taxonomy()
- lct_acf_loaded{}save_references_accessed()
- lct_get_field_post_id()
- lct_acf_admin{}activate_license()
- lct_acf_op_main_fixes_cleanups{}acf()
- lct_acf_op_main_fixes_cleanups{}lct_cleanup_guid()
- lct_acf_op_main_fixes_cleanups{}lct_cleanup_uploads()
- lct_acf_op_main_fixes_cleanups{}repair_acf_repeater_metadata()
- lct_acf_op_main_fixes_cleanups{}check_redirection_items()
- lct_acf_op_main_fixes_cleanups{}lct_get_fixes_cleanups_message___db_fix_apmmp_5545()
- lct_acf_op_main_fixes_cleanups{}lct_get_fixes_cleanups_message___lct_review_site_info()
- lct_acf_format_value()
- lct_acf_loaded{}
- lct_acf_loaded{}set_fields()
- lct_acf_loaded{}load_hooks()
- lct_acf_display_form{}acf_form_head()
- lct_acf_get_options_pages()
- lct_wp_admin_admin_admin{}page_load_acf_tools()
- lct_acf_filters_load_field{}process_shortcodes()
- lct_set_Yoast_GA_settings()
- lct_acf_form{}theme_chunk_iframe_json()
- lct_taxonomies{}extend_quick_edit_post_status()
- lct_acf_instant_save{}ajax_handler()
- PDER_Admin{}delete_reminder()
- PDER_Admin{}delete_reminders_many()
- lct_features_theme_chunk{}ajax_handler()
- acf_field_lct_json{}
- acf_field_lct_send_password{}ajax_handler()
- lct_asana{}refresh_token()
- lct_Avada_admin{}add_yoast_ga_onclick()
- lct_Avada_admin{}prevent_column_element_lazy_loading()
- lct_Avada_admin{}prevent_container_element_lazy_loading()
- lct_Avada_admin{}prevent_image_element_lazy_loading_deep()
- lct_Avada_admin{}fusion_shortcode_content_fusion_imageframe()
- lct_gforms_admin{}form_with_columns()
- [lct_acf_display_value]
- lct_wp_admin_acf_admin{}update_field()
- lct_taxonomies{}disable_status_slug_editing_on_term()
- lct_taxonomies{}disable_status_slug_editing()
- lct_produce_shortcode()
- lct_create_find_and_replace_arrays()
- lct_admin_admin{}force_send_to_on_sb()
- lct_wp_rocket_admin{}add_user_agent_check_when_cookie_not_set()
- lct_acf_format_value_radio_display_format()
- Removed:
- add_action( ‘acf/include_fields’, [ $this, ‘create_local_field_key_reference_array’ ], 999 );
- add_filter( ‘acf/pre_load_reference’, [ $this, ‘pre_load_reference_old’ ], 9, 3 );
- add_filter( ‘acf/load_reference’, [ $this, ‘load_reference_old’ ], 9, 3 );
- lct_acf_loaded{}get_group_of_field_old()
- lct_acf_admin{}get_field_reference()
- lct_acf_disable_filters()
- lct_acf_enable_filters()
- lct_acf_admin{}set_object_terms()
- lct_acf_admin{}deprecated()
- lct_acf_termmeta{}
- add_action( ‘wp_loaded’, [ $this, ‘disable_fusion_widgets’ ], 1 );
2021.6
Release Date – 15 December 2021
- WP v5.8.2 Ready
- Avada v7.5 Ready
- JS Tweaks
- Updated:
- lct_avada_template_version_router()
- lct_acf_admin{}activate_license()
2021.5
Release Date – 09 December 2021
- WP v5.7.3 Ready
- New Filter:
- lct/get_the_date/post_id
- lct/get_the_modified_date_time/post_id
- Improved:
- ACF Fields
- PDER{}send_ereminder()
- lct_mu{}update_display_name()
- lct_api_class{}load_status_of_post_type()
- [lct_preload]
- [lct_get_the_date]
- [lct_get_the_modified_date_time]
- [homeurl]
- [homeurl_non_www]
- lct_Avada_admin{}check_for_bad_avada_assets()
- lct_wp_api_general{}
- lct_wp_api_general{}do_shortcode()
- Updated:
- lct_format_phone_number()
- lct_strip_phone()
- lct_wp_admin_acf_actions{}field_groups_columns_values()
- lct_wp_admin_acf_admin{}field_groups_columns()
- lct_acf_dev_checks{}default_plugins()
2021.4
Release Date – 30 August 2021
- WP v5.7.2 Ready
- Legacy Tracking Action:
- lct_after_register_taxonomy
- edit_term_taxonomy (WordPress)
- edited_term_taxonomy (WordPress)
- lct_jq_doc_ready_add #1
- lct_jq_doc_ready_add #2
- lct_jq_doc_ready_add #3
- lct_jq_doc_ready_add #4
- lct_jq_doc_ready_add #5
- lct_jq_doc_ready_add #6
- lct_jq_doc_ready_add #7
- lct_jq_doc_ready_add #8
- $deprecated_tag (lct_shutdown_deprecated_action())
- lct/acf/new_post #1
- lct/acf/new_post #2
- lct/acf/before_lct_acf_form_full
- lct/wp_head_last
- lct_wp_footer_style_add #1
- lct_wp_footer_style_add #2
- lct_wp_footer_style_add #3
- lct_wp_footer_style_add #4
- lct_wp_footer_style_add #5
- lct_wp_footer_style_add #6
- lct_wp_footer_style_add #7
- lct_wp_footer_style_add #8
- lct_jq_autosize #1
- lct_jq_autosize #2
- lct_get_user_agent_info
- lct_acf_single_load_google_fonts
- lct_acf_single_load_adobe_typekit
- woocommerce_created_customer_notification #1 (WooCommerce)
- woocommerce_created_customer_notification #2 (WooCommerce)
- woocommerce_reset_password_notification #1 (WooCommerce)
- woocommerce_reset_password_notification #2 (WooCommerce)
- lct/acf/instant_save/repeater_updated
- lct/acf/instant_save/do_function_later
- lct/op_main/init
- lct/acf/display_form/type_clone
- lct/acf/display_form/type_post_object
- lct/acf/display_form/type_taxonomy
- lct/acf/display_form/type_time_picker
- lct/acf/display_form/type_user
- lct/acf/display_form/type_zip_code
- lct/acf/format_value/type_checkbox
- lct/acf/format_value/type_date_picker
- lct/acf/format_value/type_date_time_picker
- lct/acf/format_value/type_post_object
- lct/acf/format_value/type_radio
- lct/acf/format_value/type_select
- lct/acf/format_value/type_taxonomy
- lct/acf/format_value/type_time_picker
- lct/acf/format_value/type_true_false
- lct/acf/format_value/type_user
- lct/acf/format_value/type_zip_code
- lct/acf/format_value/type_repeater
- acf/create_field (ACF)
- lct/acf/dev_report
- lct/check_for_field_with_empty_names/loop_done
- lct/set_version/update
- Updated:
- lct_mu{}
- lct_post_type_default_args()
- lct_taxonomies{}default_args()
- load_field_update_choices_clone()
- load_field_update_choices()
- lct_timer_end()
- Improved:
- P_R_STYLE(); wrapped in function_exists()
- lct_acf_loaded{}save_key_references()
- lct_acf_loaded{}load_reference()
- lct_acf_loaded{}load_reference_old()
- lct_get_clean_term_id()
- lct_get_post_content_fnr()
- lct_get_acf_post_id()
- Removed:
- do_action( ‘lct_after_register_post_type’, $post_type, $this );
- lct_WP_Post_get_postmeta()
- add_action( ‘admin_init’, [ $this, ‘grant_super_admin’ ] );
2021.3
Release Date – 24 March 2021
- WP v5.7 Ready
- Added:
- add_filter( ‘fusion_element_column_content’, [ $this, ‘reset_column_count’ ], 2, 2 );
- Updated:
- register_post_status(); Need an adjustment to work with v5.7 & wp_force_plain_post_permalink()
- Improved:
- cache_key()
2021.2
Release Date – 15 March 2021
- Removed:
- lct_admin_cron{}pimg_users()
- Added:
- lct_admin_cron{}wp_users()
2021.1
Release Date – 11 March 2021
- WP v5.6.2 Ready
- Avada v7.2.1 Ready
- PHP v7.4 Ready
- CSS Tweaks
- Added FILTER:
- lct/acf_hide_this/show_this; lct_acf_hide_this()
- lct/acf/display_form/type_section_header/value; lct_acf_format_value()
- lct/acf/format_value/type_section_header/value; lct_acf_format_value()
- New Action:
- lct/acf/display_form/type_section_header
- lct/acf/format_value/type_section_header
- Added:
- add_yoast_ga_onclick()
- Updated:
- lct_acf_hide_this()
- lct_acf_format_value()
- Improved:
- render_field_viewonly()
- lct_acf_get_full_field_name()
- PDER{}send_ereminders()
- PDER{}send_ereminder()
- lct_get_taxonomy_by_path()
- lct_quick_send_email()
- lct_acf_get_POST_value()
2020.14
Release Date – 20 January 2021
- Bug Fix:
- lct_get_comments_number_by_type(); make comment query v5.5 ready
- only_count_comments(); make comment query v5.5 ready
- page_load_acf_tools()
- Added Filter:
- lct/check_for_bad_youtubes/check_fusion
- lct/disable_fusion_builder_activate/external_check
- lct/acf/instant_save/pre_process_task
- Added:
- add_filter( ‘fusion_attr_image-shortcode-tag-element’, [ $this, ‘prevent_image_element_lazy_loading_deep’ ], 999 );
- add_filter( ‘fusion_shortcode_content’, [ $this, ‘fusion_shortcode_content_fusion_imageframe’ ], 10, 3 );
- add_filter( ‘fusion_element_column_content’, [ $this, ‘prevent_column_element_lazy_loading’ ], 1, 2 );
- add_filter( ‘fusion_element_container_content’, [ $this, ‘prevent_container_element_lazy_loading’ ], 1, 2 );
- add_filter( ‘rocket_post_purge_urls’, [ $this, ‘force_front_page_purge_prematurely’ ], 10, 2 );
- add_filter( ‘rocket_clean_home_root’, [ $this, ‘force_front_page_purge_prematurely_2’ ], 10, 3 );
- add_action( ‘current_screen’, [ $this, ‘page_load_acf_tools’ ], 1 );
- lct_previous_function()
- lct_previous_function_deep()
- lct_format_current_time_gmt()
- lct_WP_Post_get_postmeta()
- lct_WP_Post_update_postmeta()
- lct_WP_Post_update_acf()
- lct_get_edit_post_link()
- [lct_url_site]
- lct_url_site_wp_when_dev()
- add_action( ‘wp_loaded’, [ $this, ‘disable_fusion_widgets’ ], 1 );
- Removed:
- add_filter( ‘rocket_preload_url_request_args’, [ $this, ‘preload_url_request_args’ ] ); not needed anymore
- Improved:
- header_layout(); privacy was hidden by mobile menu
- lct_mu{}
- mark_post_to_be_updated_later()
- lct_get_later()
- force_send_to_on_sb()
- new_oauth_check()
- lct_acf_display_value()
- acf_field_lct_json{}
- send_ereminder()
- lct_generate_random_post_name()
- acf_field_lct_json{}
- lct_get_mobile_threshold()
- lct_get_small_mobile_threshold()
- lct_get_mobile_extreme_threshold()
- wp_enqueue_styles()
- lct_add_url_site_to_content()
- [lct_get_the_modified_date_time]
- [span]
- Updated:
- process_shortcodes()
- check_for_bad_youtubes(); Added filter
- disable_fusion_builder_activate(); Added filter
- lct_acf_form2()
- form_shortcode()
- process_pdf_fields()
- lct_acf_instant_save(); Added filter
2020.13
Release Date – 22nd October 2020
- Bug Fix:
- unique_id()
- force_send_to_on_sb(); made compatible < PHP 7.4
- JS Updates:
- instant_save.js
- Added Functions:
- lct_is_empty()
- lct_not_empty()
- lct_acf_is_repeater_subfield()
- lct_acf_validate_subfield_parent()
- Improved:
- lct_acf_format_value()
- lct_get_post_id()
- lct_get_root_post_id()
- Updated:
- lct_acf_instant_save{}ajax_handler()
2020.12
- WP v5.5.1 Ready
- Avada v7.0.2 Ready
- Improved: [theme_chunk]
- Improved: lct_features_theme_chunk{}fast_ajax()
- Improved: lct_features_theme_chunk{}ajax_handler()
- Improved: disable_optional_modules()
2020.11
- CSS Tweaks
- Improved: PDER{}get_ereminder()
- Improved: PDER{}send_ereminder()
- WP Rocket v3.7.0.1 Ready
- Updated: lct_sb_prefixes()
- Updated: lct_pder_get_email_template()
- Added: lct_count_filter()
- Updated: lct_quick_send_email()
- Added: lct_current_user_can_caps()
- Improved: lct_deprecated_error_log()
- Deprecated FILTER: lct_get_comment_type_lct_audit_settings
- Improved: get_cnst()
- Improved: lct_get_terms()
- Improved: lct_get_users()
- Added: lct_get_org_meta_query()
- Improved: lct_set_plugin()
- Improved: lct_plugin_default_args()
- Improved: lct_get_plugin_setting()
- Improved: lct_update_plugin_setting()
- Improved: lct_plugin_active()
- Improved: lct_plugin_version()
- Improved: lct_set_Yoast_GA_settings()
- Added FILTER: lct/get_comment_type_audit_settings
- Added FILTER: lct/get_comment_type_settings
- Added: lct_get_comment_type_settings()
- Improved: [lct_preload]
- Updated: [lct_get_the_id]
- Improved: [lct_current_year]
- Improved: check_restrictions_by_taxonomy()
- Improved: render_field_viewonly()
- Added: lct_acf_current_user_can_edit_field()
- Improved: lct_acf_form2()
- Improved: lct_acf_format_value()
- Improved: lct_acf_format_value_radio_display_format()
- Improved: lct_acf_format_value_post_object()
- Added: lct_acf_format_value_checkbox()
- Improved: lct_acf_format_value_taxonomy()
- Added: lct_acf_format_value_zip_code()
- Improved: acf_field_lct_zip_code{}render_field()
- Improved: acf_field_lct_phone{}render_field()
- Updated: save_key_references()
- Improved: load_reference()
- Improved: load_reference_old()
- Added: lct_acf_ajax_send_user_login_invite{}
- Added: add_filter( ‘lct/lct_acf_instant_save/add_comment/user’, [ $this, ‘add_comment_user_is_cron’ ], 999 );
- Updated: lct_acf_instant_save{}ajax_handler()
- Improved: lct_acf_instant_save{}add_comment()
- Added: ‘FILTER’ lct/lct_acf_instant_save/add_comment/user
- Updated: add_user_agent_check_when_cookie_not_set()
- Improved: disable_site_status_tests()
2020.9
- WP v5.4.2 Ready
- Improved: header_layout()
- Improved: lct_mobi_contact_button()
- Improved: non_ajax_add_comment()
- Improved: lct_update_status_taxonomy_term_count()
2020.8
- WP v5.4.1 Ready
- Improved: lct_script_protector();
2020.7
- Avada v6.2.2 Ready
- WP v5.4.1 Ready
- WP Rocket v3.5.5.1 Ready
- CSS Tweaks
- New Action:
- lct/avada_main_menu
- Improved: PDER{}
- Improved: send_ereminder()
- Improved: delete_reminders_many()
- Added: add_filter( ‘wp_mail’, [ $this, ‘force_send_to_on_sb’ ] );
- Improved: lct_mu{}
- Improved: lct_quick_send_email()
- Improved: lct_get_rel_tax_id()
- Added: lct_check_post_type_match()
- Improved: lct_features_class_mail{}
- Improved: lct_acf_form2()
- Improved: lct_acf_format_value_user()
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: add_comment()
- Improved: non_ajax_add_comment()
- Updated: lct_cleanup_uploads()
- Improved: cleanup_guid_link_cleanup()
- ACF Field Updates; for LCT Audit Settings
- Added: lct_wp_mail_smtp_admin{}
- Added: add_filter( ‘wp_mail_smtp_options_get’, [ $this, ‘disable_smtp_on_dev’ ], 10, 3 );
- Updated: create_menu(); removed dashboard link
2020.6
- Avada v6.2.1 Ready
- JS Tweaks
- Improved: lct_wpdb_prepare_in()
- Improved: lct_add_rel_term()
- Added: lct_array_flatten()
- Added: lct_array_flatten_unique()
- Added: lct_is_not_null()
- Updated: lct_avada_template_version_router(); Avada v6.2.1 Ready
- Improved: [lct_lazy_youtube]
2020.5
- Improved: lct_get_field_post_id()
- Added: lct_clean_acf_repeater()
- Added: lct_find_repeater_field()
- Improved: lct_acf_form2()
- Improved: prepare_fields_for_import()
- Improved: [lct_mobi_call_button]
- Improved: [lct_mobi_book_appt_button]
- Improved: [lct_mobi_findus_button]
- Improved: [lct_fixed_buttons]
- Improved: [lct_mobi_home_button]
- Added: lct_acf_ajax_save_repeater_after_remove{}
- Added: lct_acf_ajax_save_repeater_after_remove{}check_acf_repeater()
- Updated: default_plugins(); Added ‘wp-smushit’ & removed ‘ewww-image-optimizer’
- Updated: default_plugins(); Added ‘wp-mail-smtp’
- Updated: load_field_update_choices()
- Removed: jquery_main_vars, jquery_main_vars_no_field_check, jquery_ready_conditional_logic_type, jquery_conditional_logic_hide_field, admin_jquery_main_vars, admin_jquery_label, admin_jquery_required, admin_jquery_display_format, admin_jquery_choices, admin_jquery_ready_conditional_logic_type, admin_jquery_conditional_logic_type
- Updated: form_data_post_id_ajax()
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: lct_get_post_id()
- Added: lct_get_root_post_id()
- Improved: lct_get_acf_post_id()
- Updated: [faicon]
- Improved: prepare_field_access_primary()
- Updated: wp_head_last()
- Improved: lct_features_theme_chunk{}wp_enqueue_scripts()
- Improved: lct_features_theme_chunk{}ajax_handler()
- Added: lct_wp_api_api{}
- Added: lct_wp_api_general{}
- Added: ../assets/js/plugins/acf/front.min.js
- Added: ../assets/js/helpers.min.js
- Improved: instant_save.min.js
- Improved: theme_chunk.min.js
2020.4
- Improved: lct_acf_loaded{}load_hooks(); Prevent from running on update
2020.3
- ACF Field Changes
- Added: remove_action( ‘plugins_loaded’, ‘_wp_add_additional_image_sizes’, 0 );
- Improved: avada_main_menu_v5()
- Improved: avada_main_menu_v5_1()
- Improved: avada_main_menu_v5_4()
- Improved: wp_enqueue_scripts()
- Improved: header_layout()
- Added: add_filter( ‘wp_check_filetype_and_ext’, [ $this, ‘check_for_needed_filetype’ ], 10, 4 );
- Improved: lct_get_current_user_role_display()
- Added: add_filter( ‘lct/acf_form/post_id’, [ $this, ‘set_acf_form_post_id_for_author_page’ ], 16, 2 );
- Improved: pretty_state_list()
- Added: add_filter( ‘get_post_status’, [ $this, ‘acf_post_status_check’ ], 10, 2 );
- Improved: lct_timer_end()
- Improved: lct_acf_form2()
- Added: add_filter( ‘acf/fields/post_object/query’, [ $this, ‘update_posts_per_page’ ], 10, 3 );
- Added: add_filter( ‘acf/acf_get_hidden_input/attrs’, [ $this, ‘unique_id’ ] );
- Added: lct_rand_short()
- Improved: lct_rand()
- Improved: instant_save.js
- Improved: register_main_scripts()
- Improved: load_reference()
- Improved: lct_acf_instant_save{}ajax_handler()
- Gulp v4 Ready
2020.2
- No Updates
2020.1
- WP Rocket v3.4.4 Ready
- Avada v6.1.2 Ready
- New Filter:
- lct/access/wp_nav_menu_objects/pre_check_unset
- Updated: instant_save.js
- Improved: lct_acf_format_value()
- Improved: acf_field_lct_json{}
- Updated: lct_acf_instant_save{}ajax_handler()
- Improved: emergency_hack_checker_unworthy_recheck()
- Updated: register_post_status()
- Added: add_action( “admin_footer-{$pagenow}”, [ $this, ‘extend_quick_edit_post_status’ ] );
- Updated: get_field_label()
- Improved: lct_update_status_taxonomy_term_count()
- Improved: lct_add_rel_term()
2019.31
- Updated: emergency_hack_checker_unworthy_recheck()
- Improved: lct_acf_format_value_user()
- Improved: lct_add_rel_term()
- Improved: lct_quick_send_email()
2019.29
- New Action:
- lct/emergency_hack_checker/unworthy_recheck
- Added: add_filter( ‘acf/prepare_field_group_for_export’, [ $this, ‘add_menu_order_to_fields’ ] );
- Added: add_menu_order_loop_fields()
- Improved: lct_acf_is_field_group_editing_page()
- Improved: load_admin()
- Improved: db_status_options_ignore_names()
- Improved: page_load_acf_tools()
- Improved: db_status_postmeta_ignore_keys()
- Improved: db_status_usermeta_ignore_keys()
- Improved: load_field_update_choices()
- Improved: load_field_update_choices_clone()
- Improved: css_files()
- Improved: js_files()
- Improved: modify_clone()
- Improved: process_shortcodes()
- Improved: asana_workspaces_choices()
- Added: add_action( ‘wp’, [ $this, ‘disable_admin_hooks_by_removal’ ], 1 );
- Added: add_action( ‘wp’, [ $this, ‘disable_by_removal_wp’ ], 1 );
- Added: lct_get_status_obj_from_status_slug()
- Added: lct_get_status_name_from_status_slug()
- Improved: [theme_chunk]
- Updated: set_all_cnst()
- Added: lct_rel_tax()
- Added: lct_rel_post()
- Added: lct_add_rel_term()
- Added: lct_get_rel()
- Added: lct_get_rel_id()
- Added: lct_get_rel_post()
- Added: lct_get_rel_post_id()
- Added: lct_get_rel_tax()
- Added: lct_get_rel_tax_id()
- Added: add_action( ‘lct_emergency_hack_checker’, [ $this, ’emergency_hack_checker’ ] );
- Added: add_action( ‘lct/emergency_hack_checker/unworthy_recheck’, [ $this, ’emergency_hack_checker_unworthy_recheck’ ] );
- Added: status_worthy_commit()
2019.28
- Avada v6.1.2 Ready
- WP Rocket v3.4.2.2 Ready
- Updated: lct_acf_instant_save{}ajax_handler()
- Added ‘filter’: lct/acf/instant_save/final_response
2019.27
- Avada v6.1.1 Ready
- Added: lct_acf_display_value()
- Improved: lct_acf_format_value()
- Added: [lct_acf_display_value]
- Updated: [lct_show_if]
- Improved: lct_wp_redirect()
- Improved: lct_wp_safe_redirect()
- Added: lct_wp_safe_redirect_js()
- Updated: templates/menu-mobile-main.php
- Improved: [lct_mobi_overlay_menu_button]
- Improved: add_user()
- Added: add_filter( ‘acf/fields/post_object/query’, [ $this, ‘update_status_filter’ ], 10, 3 );
- Improved: lct_acf_get_field_groups_fields()
- Updated: lct_acf_public_choices{}load_hooks()
- Added: pretty_acf_fields_list_data()
- Added: pretty_acf_fields_list()
2019.26
- WP v5.3 Ready
- Avada v6.1.1 Ready
- JS Tweaks – instant_save
- WP Rocket v3.4.1.2 Ready
- Added: lct_prep_custom_WP_User_obj_to_array()
- Added: lct_get_all_user_meta()
- Added: lct_get_clean_user_id()
- Added: lct_get_role_name()
- Improved: lct_acf_get_field_group_of_field()
- Improved: lct_acf_get_POST_value()
- Improved: load_reference()
- Improved: plugins_n_files()
- Improved: modified_posts()
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: lct_avada_template_version_router()
- Updated: lct_wp_admin_admin_loader{}load_admin()
2019.25
- New Action:
- lct/is_cache_disabled/cache_flush
- WP v5.2.4 Ready
- Avada v6.0.3 Ready
- JS Tweaks
- UD .htaccess
- Added: add_action( ‘set_current_user’, [ $this, ‘update_display_name’ ] );
- Added: update_names()
- Added: lct_get_current_user_role_display()
- Removed: template overrides for logo.php
- Improved: lct_avada_default_overrider()
- Added: lct_avada_template_version_router()
- Updated: get_instance()
- Improved: pre_load_reference()
- Added: save_references_accessed()
- Improved: load_reference()
- Added: lct_delete_meta_cache()
- Added: lct_delete_post_meta_cache()
- Added: lct_delete_term_meta_cache()
- Added: lct_get_clean_post_id()
- Added: lct_get_clean_term_id()
- Improved: lct_prep_custom_WP_Post_obj_to_array()
- Added: lct_get_date_from_date()
- Added: lct_get_date_from_date_gmt()
- Updated: lct_get_json_thru_curl()
- Added: lct_acf_get_field_group_of_field()
- Added: ACF Field ‘JSON Data’
- Improved: lct_acf_get_POST_values_w_selector_key()
- Added: lct_produce_shortcode()
- Updated: lct_acf_form2()
- Updated: [lct_acf_form2]
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: lct_features_theme_chunk{}ajax_handler()
- Updated: prepare_fields_for_import()
- Added: add_action( ‘acf/render_field_settings/type=time_picker’, [ $this, ‘render_field_settings_time_picker’ ] );
- Added: lct_is_cache_disabled()
- Improved: [lct_mobi_flyout_menu_button]
- Improved: [lct_scroll_arrow]
- Updated: [lct_mobi_overlay_menu_button]
- Improved: lct_acf_instant_save{}ajax_handler()
2019.24
- JS Tweaks
- Improved: lct_get_fixes_cleanups_message___lct_review_site_info()
- Improved: lct_remove_site_root_all()
- Improved: fusion_options_saved()
- Updated: lct_acf_form2()
- Updated: [lct_acf_form2]
2019.23
- CSS Tweaks
- Improved: database_status_options()
- Updated: lct_close_all_pings_and_comments()
- Improved: login_bypass()
- Moved: add_action( ‘admin_init’, [ $this, ‘set_login’ ] );
- Removed: lct_wp_admin_wps_hide_login_admin{}
- Added: lct_wps_hide_login_loaded{}
- Added: add_filter( ‘site_url’, [ $this, ‘site_url’ ], 5, 4 );
- Added: add_filter( ‘network_site_url’, [ $this, ‘network_site_url’ ], 5, 3 );
- Added: add_filter( ‘wp_redirect’, [ $this, ‘wp_redirect’ ], 5, 2 );
- Added: filter_wp_login_php()
- Added: lct_stream_admin{}
- Added: add_filter( ‘wp_stream_alert_trigger_check’, [ $this, ‘trigger_check’ ], 10, 4 );
- Added: add_action( ‘upload_mimes’, [ $this, ‘add_file_types_to_uploads’ ] );
- Improved: [lct_phone]
- Added: lct_acf_get_menu_button_class()
- Added: lct_acf_get_mobi_nav_colors()
- Improved: [lct_mobi_call_button]
- Improved: [lct_mobi_book_appt_button]
- Improved: [lct_mobi_contact_button]
- Improved: [lct_mobi_findus_button]
- Added: lct_acf_get_specific_mobi_nav_color()
- Improved: [lct_mobi_home_button]
- Improved: [lct_findus_button]
- Improved: [lct_contact_button]
- Improved: [lct_book_appt_button]
- Improved: [lct_mobi_menu_button]
- Improved: [lct_mobi_slide_menu_button]
- Improved: [lct_mobi_overlay_menu_button]
- Added: [lct_mobi_flyout_menu_button]
- Improved: header_layout()
- Improved: lct_update_later()
2019.22
- Improved: load_reference()
- Improved: cleanup_guid_link_cleanup()
- Improved: initial_tasks()
- Added: default_plugins()
- Added: update_plugin_details()
- Updated: plugins_n_files()
- Improved: database_status_options()
- Renamed: lct_admin_menu_editor_action{} TO lct_wp_admin_admin_menu_editor_action{}
- Improved: update_options_to_desired_settings()
- Updated: [lct_acf_form2]
- Updated: lct_acf_form2()
2019.21
- Improved: lct_get_street_address()
- Improved: get_field()
- Improved: lct_load_class()
- Added: lct_asana{}
- Added: lct_asana_acf{}
- Added: add_filter( ‘acf/load_field/name=’ . zxzacf( ‘asana::workspaces’ ), [ $this, ‘asana_workspaces_choices’ ] );
2019.19
- ACF Fields
- Added: add_filter( ‘site_status_tests’, [ $this, ‘disable_site_status_tests’ ] );
- Added: add_filter( ‘site_status_test_php_modules’, [ $this, ‘disable_optional_modules’ ] );
- Improved: acf_include_field_types()
- Improved: acf_field_lct_dev_report{}
- Removed: acf_field_lct_modified_posts{}
- Renamed: dev_report() TO plugins_n_files()
- Added: add_action( ‘lct/acf/dev_report’, [ $this, ‘modified_posts’ ] );
- Removed: add_action( ‘lct/acf/modified_posts’, [ $this, ‘modified_posts’ ] );
- Added: add_action( ‘lct/acf/dev_report’, [ $this, ‘database_status_options’ ] );
- Improved: exclude_field_type()
- Improved: check_for_field_with_empty_names()
- Improved: check_for_field_issues()
- Added: lct_array_to_quoted_string()
- Added: add_filter( ‘acf/load_field/name=’ . zxzacf( ‘db_status::options::ignore_names’ ), [ $this, ‘db_status_options_ignore_names’ ] );
- Added: add_filter( ‘acf/update_value/name=_validate_email’, ‘__return_null’, 10, 3 );
- Added: add_action( ‘lct/acf/dev_report’, [ $this, ‘database_status_postmeta’ ] );
- Added: add_action( ‘lct/acf/dev_report’, [ $this, ‘database_status_usermeta’ ] );
- Added: add_filter( ‘acf/load_field/name=’ . zxzacf( ‘db_status::postmeta::ignore_keys’ ), [ $this, ‘db_status_postmeta_ignore_keys’ ] );
- Added: add_filter( ‘acf/load_field/name=’ . zxzacf( ‘db_status::usermeta::ignore_keys’ ), [ $this, ‘db_status_usermeta_ignore_keys’ ] );
2019.18
- Improved: lct{}
- Improved: lct{}init()
- Improved: lct{}plugins_loaded_first()
- Improved: lct{}load_classes()
- Added: lct{}has_setting()
- Improved: lct{}get_setting()
- Improved: lct{}update_setting()
- Added: lct{}get_data()
- Added: lct{}set_data()
- Improved: lct_disable_cache()
- Improved: lct_enable_cache()
- Improved: lct_set_cache()
- Improved: lct_delete_cache()
- Improved: lct_delete_cache_all()
- Added: lct_has_setting()
- Added: lct_raw_setting()
- Added: lct_validate_setting()
- Improved: lct_get_setting()
- Improved: lct_update_setting()
- Improved: lct_append_setting()
- Added: lct_get_data()
- Added: lct_set_data()
- Added: lct_append_data()
- Improved: lct_get_path()
- Improved: lct_get_root_path()
- Improved: lct_get_url()
- Improved: lct_get_root_url()
- Improved: lct_load_class()
- Improved: lct_load_class_default_args()
- Improved: lct_did()
- Improved: lct_undid()
- Improved: lct_get_later()
- Improved: lct_update_later()
- Improved: lct_append_later()
- Added: lct_instances{}
- Improved: lct_set_plugin()
- Improved: lct_get_plugin_setting()
- Improved: lct_update_plugin_setting()
- Improved: lct_plugin_active()
- Improved: lct_plugin_version()
- Improved: lct_get_city()
- Improved: lct_get_zip()
- Improved: lct_get_state()
- Improved: lct_get_full_address()
- Improved: lct_acf_get_POST_value()
- Added: add_filter( ‘acf/update_value/name=’ . zxzacf( ‘google_map_api’ ), [ $this, ‘google_map_api’ ], 10, 3 );
- Improved: lct_cleanup_guid()
- Improved: lct_cleanup_uploads()
- Improved: load_admin()
- Added: add_action( ‘admin_init’, [ $this, ‘move_attachments’ ] );
2019.17
- Improved: get_field()
- Added: lct_prep_custom_WP_Post_obj_to_array()
- Added: lct_acf_format_value_from_selector()
2019.16
- Bug Fix: remove_theme_supports(); can’t get default value before init action
2019.15
- Renamed: updated_postmeta_update_post() TO mark_posts_as_updated_with_postmeta_changes()
- Renamed: updated_postmeta() TO mark_post_to_be_updated_later()
- Improved: mark_posts_as_updated_with_postmeta_changes()
- Improved: mark_post_to_be_updated_later()
- Added: add_action( ‘plugins_loaded’, [ $this, ‘prep_shutdown’ ], 1 );
- Added: add_action( ‘wp_update_nav_menu’, [ $this, ‘clear_menu_cache_when_nav_menu_is_saved’ ], 10, 2 );
- Added: add_action( ‘post_updated’, [ $this, ‘clear_menu_cache_when_post_is_saved’ ], 10, 3 );
- Improved: lct_features_nav_menu_cache{}cache_key()
2019.14
- Added: add_action( ‘after_setup_theme’, [ $this, ‘remove_theme_supports’ ], 11 );
2019.13
- WP v5.2.2 Ready
- Improved: get_field()
- Improved: lct_get_DateTime_from_date()
- Improved: acf_actions_n_filters()
- Bug Fix: lct_is_wpdev()
2019.12
- WP v5.2.1 Ready
- Avada v5.9.1 Ready
- Improved: lct_avada_default_overrider()
2019.11
- WP v5.2.1 Ready
- Added: add_action( ‘admin_init’, [ $this, ‘scanner_postmeta’ ] );
- Improved: db_looper()
2019.9
- WP v5.2 Ready
- Updated: lct_mu{}init(); Added cron support
- Bug Fix: load_status_of_post_type(); stopped the saving of term relationships when not needed
- Improved: strpos_array()
- Bug Fix: render_field_viewonly(); Don’t disable repeaters
- Bug Fix: lct_get_field_post_id()
- Bug Fix: lct_acf_format_value()
- Improved: load_reference()
- Improved: get_group_of_field()
- Bug Fix: non_ajax_add_comment(); repeater get_field() was not working
2019.8
- Added lazyframe() support to Fusion modals
2019.7
- Improved: instant_save.js
- Updated: lct_taxonomies{}set_all_cnst(); Added cnst ‘tax_status_slugs’
- Improved: lct_get_post_id()
- Improved: lct_make_status_slug()
- Updated: lct_get_acf_post_id()
- Added: add_action( ‘acf/include_fields’, [ $this, ‘acf_actions_n_filters_pre’ ], 9999 );
- Improved: acf_actions_n_filters()
- Added: add_filter( ‘acf/update_value/name=’ . lct_status(), [ $this, ‘update_taxonomy_status’ ], 999970, 3 );
- Added: add_filter( ‘acf/load_value/name=’ . lct_status(), [ $this, ‘load_status_of_post_type’ ], 10, 3 );
- Added: add_filter( ‘acf/load_value/type=taxonomy’, [ $this, ‘load_taxonomy’ ], 9999, 3 );
- Added: add_filter( ‘acf/update_value/type=taxonomy’, [ $this, ‘update_taxonomy’ ], 999980, 3 );
- Added: add_filter( ‘acf/update_value’, [ $this, ‘finish_taxonomy_update’ ], 999999, 3 );
- Added: add_action( ‘acf/save_post’, [ $this, ‘prevent_taxonomy_saving’ ], 0 );
- Moved: add_action( ‘shutdown’, [ $this, ‘do_update_field_later’ ] );
- Moved: add_action( ‘acf/save_post’, [ $this, ‘do_update_field_later’ ], 100 );
- Deprecated: lct_acf_update_field_inside_comment()
- Improved: lct_is_new_save_post()
- Removed: lct_dont_save_terms_on_comments()
- Improved: render_field_viewonly()
- Removed: lct_update_status_of_post_type_also()
- Added: lct_acf_get_status_field_object()
- Added: lct_acf_get_status()
- Added: lct_acf_get_status_id()
- Added: lct_acf_update_status()
- Improved: lct_acf_format_value_true_false_display_format()
- Improved: lct_acf_get_before_save_values()
- Improved: lct_acf_get_before_save_value()
- Improved: lct_acf_get_repeater_array_values()
- Improved: lct_acf_get_POST_value()
- Added: lct_acf_get_POST_repeater_value()
- Improved: lct_acf_get_POST_values_w_selector_key()
- Added: lct_acf_is_selector_repeater()
- Added: lct_acf_get_old_field_value()
- Added: add_filter( ‘acf/location/rule_match/post_type’, [ $this, ‘register_rule_match_post_type’ ], 999, 3 );
- Added: add_filter( ‘acf/location/rule_match/comment’, [ $this, ‘register_rule_match_comment’ ], 999, 3 );
- Updated: load_reference()
- Removed: add_filter( ‘acf/update_value/type=taxonomy’, [ $this, ‘wp_set_object_terms’ ], 100, 3 );
- Updated: set_current_form()
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: lct_acf_instant_save{}add_comment()
- Improved: lct_acf_instant_save{}non_ajax_add_comment()
- Improved: check_all_fusion_pages_for_bad_avada_assets()
- Improved: register_rule_values_org()
- Updated: includes: lazyframe TO v1.1.6
2019.6
- New Action:
- lct/acf/load_reference/pre_check_duplicate_failed
- Added: lct_array_not_unique()
- Improved: prepare_fields_for_import()
- Improved: save_key_references()
- Added: lct_acf_get_POST_values_w_selector_key()
- Improved: lct_acf_get_selector()
- Improved: lct_rand()
- Improved: wp_add_inline_script()
- Improved: wp_add_inline_style()
- Improved: lct_acf_form_full()
- Improved: lct_generate_random_post_name()
- Improved: lct_acf_form2()
- Improved: pretty_acf_field_groups_list_data()
- Improved: exhaustive_acf_field_groups_list_data()
- Added: add_action( ‘lct/acf_form/before_acf_form’, [ $this, ‘set_current_form’ ], 0 );
- Updated: lct_mu{}
- Improved: lct_get_cache()
- Updated: lct_isset_cache()
- Added: lct_array_replace()
- Improved: schedule_reminder()
- Improved: delete_reminder()
- Improved: mark_posts_as_updated_with_postmeta_changes()
- Improved: lct_pder_get_email_template()
- Added: lct_get_reminder()
- Added: lct_delete_all_post_meta()
- Added: lct_delete_all_post_meta_by_post_ids()
- Updated: strpos_array()
- Updated: lct_get_all_metadata()
- Updated: lct_get_all_post_meta()
- Updated: lct_get_all_term_meta()
- Improved: register_rule_match_options_page()
- Improved: register_rule_match_lct_org()
- Improved: load_reference()
- Added: FILTER ‘lct/acf/load_reference/pre_check_duplicate’
- Improved: register_screen()
2019.5
- Avada v5.8.2 Ready
- Improved: lct_update_meta_cache()
- Improved: lct_get_meta_cache()
- Added: lct_update_term_meta_cache()
- Added: lct_get_term_meta_cache()
- Improved: lct_get_term_id_or_create_n_get_term_id()
2019.4
- WP v5.1 Ready
- WP v5.1.1 Ready
- JS Tweaks; instant_save.min.js
- CSS Tweaks
- Improved: lct_taxonomies{}cache_key()
- Added: lct_meta_cache_key()
- Added: lct_update_meta_cache()
- Added: lct_update_post_meta_cache()
- Added: lct_get_meta_cache()
- Added: lct_get_post_meta_cache()
- Changed: add_action( ‘acf/init’, [ $this, ‘create_local_field_key_reference_array’ ], 3 ); TO ‘acf/include_fields’
- Improved: create_local_field_key_reference_array()
- Removed: add_action( ‘acf/init’, [ $this, ‘create_acf_by_selector’ ], 9 );
- Moved: add_action( ‘load-update-core.php’, [ $this, ‘autoload_checker’ ] );
- Added: add_action( ‘acf/init’, [ $this, ‘acf_actions_n_filters’ ], 999 );
- Improved: autoload_checker()
- Added: FILTER ‘lct/autoload_checker/force_no’
- Added: lct_key_reference()
- Added: lct_duplicate_names()
- Added: add_action( ‘set_object_terms’, ‘lct_dont_save_terms_on_comments’, 10, 6 );
- Improved: update_field_group()
- Improved: lct_features_nav_menu_cache{}cache_key()
- Added: lct_acf_get_POST_value()
- Added: lct_acf_get_POST_instant_selector()
- Added: lct_acf_get_POST_instant_value()
- Added: lct_acf_get_selector()
- Added: lct_acf_get_options_pages()
- Improved: dev_report()
- Improved: lct_acf_instant_save{}__construct()
- Improved: lct_acf_instant_save{}ajax_handler()
- Improved: lct_acf_instant_save{}add_comment()
- Improved: lct_acf_op_main{}load_hooks()
- Moved: add_action( ‘lct/op_main/init’, [ $this, ‘add_op_main_Avada’ ] );
- Improved: set_fields()
- Improved: pre_load_reference_old()
- Improved: load_reference_old()
- Improved: disable_fusion_builder_activate()
- Added: lct_gforms_loaded{}
- Moved: add_action( ‘lct/op_main/init’, [ $this, ‘add_op_main_gforms’ ] );
- Moved: add_action( ‘lct/op_main/init’, [ $this, ‘add_op_main_wc’ ] );
- Improved: load_vars()
- Improved: load_admin()
2019.3
- Added: add_action( ‘created_term’, [ $this, ‘clear_register_post_status_cache’ ], 10, 3 );
- Added: add_action( ‘edited_term’, [ $this, ‘clear_register_post_status_cache’ ], 10, 3 );
- Improved: register_post_status()
- Added: cache_key();
- Disabled: add_filter( ‘acf/get_fields’, [ $this, ‘acf_get_fields’ ], 10, 2 );
- Improved: lct_acf_get_option()
- Added: add_filter( ‘acf/update_value/type=repeater’, [ $this, ‘delete_option_repeater_cache’ ], 999, 3 );
- Added: add_action( ‘template_redirect’, [ $this, ‘remove_wp_admin_menu_items’ ], 999 );
- Added: add_action( ‘admin_init’, [ $this, ‘remove_wp_admin_menu_items’ ], 999 );
- Improved: lct_remove_filter_like()
- Added: lct_remove_filter_like_2()
- Improved: lct_path_theme()
- Improved: lct_url_theme()
- lct_mu{}; REST API Ready
- Added: lct_mu{}api_checker()
- Added: lct_doing_api()
- Updated: register_main_scripts(); REST API Ready
- Updated: admin_register_main_scripts(); REST API Ready
- Bug Fix: timezone_adjust()
- Bug Fix: timezone_adjust_from_gmt()
2019.2
- Avada v5.8.1 Ready
- ACF v5.7.12 Ready
- Added: lct_doing_ajax()
- Added: lct_doing_autosave()
- Added: lct_doing_cron()
- Updated: lct_doing()
- Removed: wp_doing_cron(); Unneeded backup
- Changed: lct_wp_admin_admin_update{}load_hooks(); ‘wp_doing_cron’ to ‘lct_doing_cron’
- Changed: lct_wp_admin_admin_update_extras{}load_hooks(); ‘wp_doing_cron’ to ‘lct_doing_cron’
- Improved: force_update_db_values()
- Improved: cleanup_do_pings()
- Changed: lct{}load_classes(); ‘wp_doing_cron’ to ‘lct_doing_cron’
- Added: add_action( ‘add_post_metadata’, [ $this, ‘dont_save_pings’ ], 10, 5 );
- Removed: add_action( ‘load-update-core.php’, [ $this, ‘cleanup_do_pings’ ] );
- Improved: lct_debug_to_error_log();
- Updated: included ‘autosize’ to v4.0.2
- Improved: lct_acf_admin{}wp_enqueue_scripts()
- Improved: register_main_scripts()
- Improved: admin_register_main_scripts()
- Improved: create_local_field_key_reference_array()
- Updated: lct_timer_end()
- Improved: lct_acf_op_main{}load_hooks()
- Added: add_action( ‘acf/include_fields’, [ $this, ‘include_fields_plugins_Avada’ ], 16 );
- Added: add_action( ‘acf/include_fields’, [ $this, ‘include_fields_plugins_gforms’ ], 16 );
- Added: add_action( ‘acf/include_fields’, [ $this, ‘include_fields_plugins_wc’ ], 16 );
- Improved: timezone_settings(); Prevent 500 error
- Overhaul: lct_acf_loaded{}
- Improved: lct_acf_loaded{}load_hooks()
- Updated: lct_acf_loaded{}set_fields()
- Added: add_filter( ‘acf/prepare_fields_for_import’, [ $this, ‘prepare_fields_for_import’ ], 9 );
- Added: lct_acf_loaded{}save_key_references()
- Updated: lct_acf_loaded{}pre_load_reference()
- Added: lct_acf_loaded{}pre_load_reference_old()
- Updated: lct_acf_loaded{}load_reference()
- Updated: lct_acf_loaded{}get_group_of_field()
- Added: add_filter( ‘acf/load_field_group’, [ $this, ‘load_field_group’ ], 9 );
- Deprecated: lct_acf_get_old_field()
- Deprecated: lct_acf_cache_delete()
- Deprecated: lct_acf_get_key_post_type()
- Deprecated: lct_acf_get_key_taxonomy()
- Deprecated: lct_acf_get_key_user()
- Moved: get_label()
- Moved: the_label()
- Improved: lct_acf_enable_filters()
- Improved: lct_acf_format_value()
- Added: lct_features_nav_menu_cache{}
2019.1
- WP v5.0.3 Ready
- CSS Tweaks
- JS Tweaks; instant_save.min.js
- ACF Field Tweaks
- Removed: add_filter( ‘theme_page_templates’, [ $this, ‘theme_page_templates’ ], 5, 4 ); was inactive
- Improved: lct_admin_admin{}do_function_later()
- Improved: lct_mu{}ajax_checker()
- Improved: lct_admin_time{}timezone_settings()
- Improved: get_the_date()
- Improved: get_post_modified_time()
- Improved: lct_cache_key()
- Updated: lct_update_reminder()
- Added: lct_DateTime()
- Added: lct_current_time()
- Added: lct_format_current_time()
- Updated: lct_format_date()
- Added: lct_display_timezone()
- Added: lct_update_post_title()
- Bug Fix: lct_get_acf_post_id(); Missing check for $_POST[‘_acf_post_id’]
- Added: lct_do_function_later()
- Added: lct_rand()
- Improved: create_local_field_key_reference_array()
- Added: lct_get_dollar_wo_symbol()
- Improved: lct_get_user_agent_info()
- Added: lct_get_DateTime_today()
- Improved: lct_get_today()
- …