namesilo最便宜的域名购买
Astra主题过时的挂钩列表

Astra主题过时的挂钩列表

Astra主题过时的挂钩列表

  在Astra Theme 3.7.4 和 Astra Pro 3.6.2更新之后,弃用了大量功能、过滤器和操作。您可能已经添加使用了一些Astra挂钩到您的网站。简而言之,您会发现功能、过滤器和操作的列表。因此,如果您向您的网站添加了任何过滤器、操作或其他功能,请更新挂钩。

Astra主题过时的挂钩列表
Astra主题过时的挂钩列表

  尽管新版本仍然与旧代码兼容以避免任何问题,但应该尽快更新,应该使用以下替换项替换已弃用的挂钩。本文,晓得博客为你介绍Astra主题过时的挂钩列表。

  推荐:Astra主题Hooks使用教程

Astra动作

过时的动作取而代之
astra_get_css_filesastra_addon_get_css_files
astra_get_css_filesastra_addon_get_js_files
astra_after_render_jsastra_addon_after_render_js
this_register_admin_menuastra_register_admin_menu

  推荐:Astra Free VS Astra Pro,Astra主题评论

Astra过滤器

过时的过滤器取而代之
astra_bb_render_content_by_idastra_addon_bb_render_content_by_id
astra_get_assets_uploads_dirastra_addon_get_assets_uploads_dir
astra_pro_show_brandingastra_addon_show_branding
astra_dynamic_cssastra_addon_dynamic_css
astra_add_css_fileastra_addon_add_css_file
astra_add_js_fileastra_addon_add_js_file
astra_add_dependent_js_fileastra_addon_add_dependent_js_file
astra_render_cssastra_addon_render_css
astra_render_jsastra_addon_render_js
astra_languages_directoryastra_addon_languages_directory
astra_ext_default_addonsastra_addon_ext_default_addons
astra_get_addonsastra_addon_get_addons
astra_ext_enabled_extensionsastra_addon_enabled_extensions
astra_custom_404_optionsastra_addon_custom_404_options
astra_cache_asset_query_varastra_addon_cache_asset_query_var
astra_cache_asset_typeastra_addon_cache_asset_type
astra_load_dynamic_css_inlineastra_addon_load_dynamic_css_inline
astra_flags_svgastra_addon_flags_svg
astra_display_on_listastra_addon_display_on_list
astra_location_rule_post_typesastra_addon_location_rule_post_types
astra_user_roles_listastra_addon_user_roles_list
astra_target_page_settingsastra_addon_target_page_settings
astra_get_display_posts_by_conditionsastra_addon_get_display_posts_by_conditions
astra_meta_args_post_by_conditionastra_addon_meta_args_post_by_condition
astra_pro_white_label_add_formastra_addon_white_label_add_form
ast_footer_bar_displayastra_footer_bar_display
ast_main_header_displayastra_main_header_display
secondary_submenu_border_classastra_secondary_submenu_border_class
gtn_image_group_css_compastra_gutenberg_image_group_style_support
ast_footer_sml_layoutastra_footer_sml_layout
primary_submenu_border_classastra_primary_submenu_border_class

  推荐:如何在Astra主题文章帖子底部添加Tags标签

Astra功能

Astra Theme APIs
Astra主题过时的挂钩列表
过时的功能取而代之
astra_get_supported_postsastra_addon_get_supported_posts
astra_rgba2hexastra_addon_rgba2hex
astra_check_is_hexastra_addon_check_is_hex
is_support_swap_mobile_below_header_sectionsastra_addon_swap_mobile_below_header_sections
is_astra_theme_3_5_0_versionastra_addon_check_theme_3_5_0_version
sticky_header_default_site_title_tagline_css_compastra_addon_sticky_site_title_tagline_css_comp
is_support_swap_mobile_above_header_sectionsastra_addon_support_swap_mobile_above_header_sections
astra_return_content_layout_page_builderastra_addon_return_content_layout_page_builder
astra_return_page_layout_no_sidebarastra_addon_return_page_layout_no_sidebar
astra_pro_is_emp_endpointastra_addon_is_amp_endpoint
is_astra_breadcrumb_trailastra_addon_is_breadcrumb_trail
astra_breadcrumb_shortcodeastra_addon_breadcrumb_shortcode
astra_get_templateastra_addon_get_template
astra_locate_templateastra_addon_locate_template
astra_ext_adv_search_dynamic_cssastra_addon_adv_search_dynamic_css
astra_ext_advanced_search_dynamic_cssastra_addon_advanced_search_dynamic_css
astra_ext_header_builder_sections_colors_dynamic_cssastra_addon_header_builder_sections_colors_dynamic_css
astra_ext_header_sections_colors_dynamic_cssastra_addon_header_sections_colors_dynamic_css
astra_ldrv3_dynamic_cssastra_addon_ldrv3_dynamic_css
astra_learndash_dynamic_cssastra_addon_learndash_dynamic_css
astra_ext_mobile_above_header_dynamic_cssastra_addon_mobile_above_header_dynamic_css
astra_ext_mobile_below_header_dynamic_cssastra_addon_mobile_below_header_dynamic_css
astra_ext_mobile_header_colors_background_dynamic_cssastra_addon_mobile_header_colors_background_dynamic_css
astra_ext_mobile_header_spacing_dynamic_cssastra_addon_mobile_header_spacing_dynamic_css
astra_ext_mobile_header_dynamic_cssastra_addon_mobile_header_dynamic_css
astra_ext_mega_menu_dynamic_cssastra_addon_mega_menu_dynamic_css
astra_ext_scroll_to_top_dynamic_cssastra_addon_scroll_to_top_dynamic_css
astra_ext_fb_button_dynamic_cssastra_addon_footer_button_dynamic_css
astra_fb_divider_dynamic_cssastra_addon_footer_divider_dynamic_css
astra_fb_lang_switcher_dynamic_cssastra_addon_footer_lang_switcher_dynamic_css
astra_footer_social_dynamic_cssastra_addon_footer_social_dynamic_css
astra_ext_hb_button_dynamic_cssastra_addon_header_button_dynamic_css
astra_hb_divider_dynamic_cssastra_addon_header_divider_dynamic_css
astra_hb_lang_switcher_dynamic_cssastra_addon_header_lang_switcher_dynamic_css
astra_ext_hb_menu_dynamic_cssastra_addon_header_menu_dynamic_css
astra_header_social_dynamic_cssastra_addon_header_social_dynamic_css

总结

  以上是晓得博客为你介绍的Astra主题过时的挂钩列表的全部内容,希望对你的WordPress建站有所帮助,如果将Astra主题更新到其最新版本,那么现在无需担心,因为Astra主题仍然保持与旧挂钩的兼容性,但如果希望您的Astra主题自定义,应该开始将它们更改为新的未来继续工作。

  推荐:Astra主题建站教程

给文章评分

晓得博客,版权所有丨如未注明,均为原创
晓得博客 » Astra主题过时的挂钩列表

转载请保留链接:https://www.pythonthree.com/astra-obsolete-hooks-you-should-change/

ThemeForest 模板套件
可视化创建WordPress网站
Scroll to Top