Hooks and Filters

Overview

Enfold Snippet Library: Filters and Hooks help you customize the theme.  Copy and paste the code into your child theme’s functions.php or place inside a custom functionality plugin.

Usage and Examples: For usage and examples of the filters and hooks please check out our github repo.

Notes: These snippets come with no guarantees. Due to the constant evolution of the Enfold Theme codebase, it is possible that the behavior of these snippets may change overtime. Find something broken? Let us know!

Hooks

ava_main_header
ava_main_header_sidebar
ava_after_main_title
ava_after_main_container
ava_before_bottom_main_menu
ava_inside_main_menu
ava_after_main_menu
ava_after_main_container
ava_after_content
ava_before_content
ava_add_custom_default_sidebars
ava_frontend_search_form
ava_search_after_get_header
ava_before_footer
ava_mailchimp_contact_form_elements

Filter

avf_blog_style
avf_author_name
avf_update_theme_tab
avf_modify_thumb_size
avf_default_icons
avf_dynamic_stylesheet_filename
avf_menu_items
avf_fallback_menu_items
avf_ajax_search_query
avf_ajax_search_function
avf_ajax_search_messages
avf_ajax_search_label_names
avf_ajax_search_excerpt
avf_ajax_search_no_excerpt
avf_social_widget
avf_title_args
avf_header_setting_filter
avf_header_classes
avf_sidebar_menu_filter
avf_builder_elements
avf_mega_menu_post_meta_fields
avf_allow_drag_drop
avf_frontend_search_form_param
avf_sidebar_position
avf_custom_sidebar
avf_show_default_sidebars
avf_show_default_sidebar_pages
avf_show_default_sidebar_categories
avf_show_default_sidebar_archiv
avf_template_builder_content
avf_wp_link_pages_args
avf_tag_label_names
avf_related_post_loop
avf_avia_menu_conditions
avf_execute_avia_meta_header
avf_markup_helper_args
avf_markup_helper_attributes
avf_markup_helper_output
avf_logo
avf_author_email
avf_author_description
avf_loop_author_content
avf_exclude_taxonomies
avf_loop_index_blog_meta
avf_google_content_font
avf_social_icons_options
avf_google_heading_font
avf_skin_options
avf_portfolio_cpt_args
avf_safe_string_trans
avf_ajax_form_class
avf_form_el_name_length
avf_contact_form_submit_button_attr
avf_form_el_filter
avf_datepicker_dateformat
avf_form_send
avf_form_sendto
avf_form_from
avf_form_subject
avf_form_mail_field_values
avf_form_use_wpmail
avf_form_mail_header
avf_form_copy
avf_form_message
avf_form_custom_autoresponder
avf_form_autorespondermessage
avf_form_autoresponder_from
avf_load_google_map_api
avf_file_upload_capability
avf_file_upload_extra
avf_google_fontlist
avf_option_page_init
avf_option_page_data_init