Theme Hooks (Actions & Filters)

Table of Contents

Actions

57 actions

Filters

48 filters

Type: action

Files:

  • template-parts/footer/footer-absolute.php:49

Back to top

Type: action

Files:

  • template-parts/footer/footer-absolute.php:15

Back to top

Type: action

Files:

  • woocommerce/myaccount/dashboard-links.php:31
  • woocommerce/myaccount/account-links.php:37

Back to top

flatsome_after_404

Type: action

Files:

  • 404.php:35

Back to top

flatsome_after_account_user

Type: action

Files:

  • woocommerce/myaccount/account-user.php:25

Back to top

flatsome_after_blog

Type: action

Files:

  • template-parts/posts/layout-left-sidebar.php:37
  • template-parts/posts/layout-right-sidebar.php:37
  • template-parts/posts/layout.php:31

Back to top

flatsome_after_body_open

Type: action

Files:

  • maintenance.php:22
  • woocommerce/checkout/layouts/checkout-focused.php:23
  • woocommerce/checkout/layouts/checkout-simple.php:23
  • page-blank-landingpage.php:22
  • header.php:22

Back to top

flatsome_after_breadcrumb

Type: action

Files:

  • woocommerce/global/breadcrumb.php:53

Back to top

Type: action

Files:

  • template-parts/footer/footer.php:29

Back to top

flatsome_after_header

Type: action

Files:

  • single-blocks.php:22
  • page-blank-landingpage.php:26
  • header.php:37

Back to top

flatsome_after_header_bottom

Type: action

Files:

  • template-parts/header/header-bottom.php:50

Back to top

flatsome_after_page

Type: action

Files:

  • page-blank-sub-nav-vertical.php:57
  • page-blank-title-center.php:37
  • page-transparent-header-light.php:21
  • page-right-sidebar.php:41
  • page-single-page-nav.php:21
  • single-blocks.php:34
  • page-blank-landingpage.php:38
  • page-blank.php:23
  • page-my-account.php:55
  • page-left-sidebar.php:40
  • page-transparent-header.php:21
  • page.php:46
  • page-single-page-nav-transparent.php:21
  • page-header-on-scroll.php:21
  • page-single-page-nav-transparent-light.php:21

Back to top

flatsome_after_page_content

Type: action

Files:

  • page.php:38

Back to top

flatsome_after_product_images

Type: action

Files:

  • woocommerce/single-product/product-image-stacked.php:95
  • woocommerce/single-product/product-image-wide.php:93
  • woocommerce/single-product/product-image.php:114
  • woocommerce/single-product/product-image-vertical.php:92

Back to top

flatsome_after_product_page

Type: action

Files:

  • woocommerce/single-product.php:56

Back to top

flatsome_after_sidebar_menu

Type: action

Files:

  • template-parts/overlays/overlay-menu.php:71

Since: 3.15.0

Back to top

flatsome_after_sidebar_menu_elements

Type: action

Files:

  • template-parts/overlays/overlay-menu.php:67

Since: 3.15.0

Back to top

flatsome_before_404

Type: action

Files:

  • 404.php:10

Back to top

flatsome_before_blog

Type: action

Files:

  • template-parts/posts/layout-left-sidebar.php:9
  • template-parts/posts/layout-right-sidebar.php:9
  • template-parts/posts/layout.php:9

Back to top

flatsome_before_breadcrumb

Type: action

Files:

  • woocommerce/global/breadcrumb.php:19

Back to top

flatsome_before_comments

Type: action

Files:

  • comments.php:23

Back to top

Type: action

Files:

  • template-parts/footer/footer.php:9

Back to top

flatsome_before_header

Type: action

Files:

  • header.php:29

Back to top

flatsome_before_page

Type: action

Files:

  • page-blank-sub-nav-vertical.php:11
  • page-blank-title-center.php:12
  • page-transparent-header-light.php:11
  • page-right-sidebar.php:11
  • page-single-page-nav.php:11
  • single-blocks.php:21
  • page-blank-landingpage.php:25
  • page-blank.php:11
  • page-my-account.php:13
  • page-left-sidebar.php:11
  • page-transparent-header.php:11
  • page.php:18
  • page-single-page-nav-transparent.php:11
  • page-header-on-scroll.php:11
  • page-single-page-nav-transparent-light.php:11

Back to top

flatsome_before_page_content

Type: action

Files:

  • page.php:31

Back to top

flatsome_before_product_images

Type: action

Files:

  • woocommerce/single-product/product-image-stacked.php:56
  • woocommerce/single-product/product-image-wide.php:42
  • woocommerce/single-product/product-image.php:72
  • woocommerce/single-product/product-image-vertical.php:49

Back to top

flatsome_before_product_page

Type: action

Files:

  • woocommerce/single-product.php:19

Back to top

flatsome_before_product_sidebar

Type: action

Files:

  • woocommerce/content-single-product-custom.php:53
  • woocommerce/single-product/layouts/product-right-sidebar-full.php:13
  • woocommerce/single-product/layouts/product-left-sidebar-small.php:16
  • woocommerce/single-product/layouts/product.php:47
  • woocommerce/single-product/layouts/product-left-sidebar.php:48
  • woocommerce/single-product/layouts/product-stacked-right.php:55
  • woocommerce/single-product/layouts/product-right-sidebar.php:48
  • woocommerce/single-product/layouts/product-no-sidebar.php:48
  • woocommerce/single-product/layouts/product-left-sidebar-full.php:15

Back to top

flatsome_before_sidebar_menu

Type: action

Files:

  • template-parts/overlays/overlay-menu.php:34

Since: 3.15.0

Back to top

flatsome_before_sidebar_menu_elements

Type: action

Files:

  • template-parts/overlays/overlay-menu.php:38

Since: 3.15.0

Back to top

flatsome_before_single_product_custom

Type: action

Files:

  • woocommerce/content-single-product-custom.php:37

Since: 3.12.0

Back to top

flatsome_blog_post_after

Type: action

Files:

  • inc/shortcodes/blog_posts.php:303

Back to top

flatsome_blog_post_before

Type: action

Files:

  • inc/shortcodes/blog_posts.php:262

Back to top

flatsome_breadcrumb

Type: action

Files:

  • inc/functions/fl-template-functions.php:24

Back to top

flatsome_cart_sidebar

Type: action

Files:

  • woocommerce/cart/cart.php:215
  • template-parts/header/partials/element-cart-mobile.php:65
  • template-parts/header/partials/element-cart-sidebar.php:49
  • template-parts/header/partials/element-cart.php:92

Back to top

flatsome_category_title

Type: action

Files:

  • woocommerce/layouts/headers/category-title-featured.php:19
  • woocommerce/layouts/headers/category-title-featured-center.php:22
  • woocommerce/layouts/headers/category-title.php:13

Back to top

flatsome_category_title_alt

Type: action

Files:

  • woocommerce/layouts/headers/category-title-featured.php:23
  • woocommerce/layouts/headers/category-title-featured-center.php:25
  • woocommerce/layouts/headers/category-title.php:16

Doc: https://docs.uxthemes.com/article/350-woocommerce-shop-page-result-count-and-ordering-dropdown

Back to top

Type: action

Files:

  • footer.php:16

Back to top

flatsome_header_background

Type: action

Files:

  • template-parts/header/header-wrapper.php:21

Back to top

flatsome_header_elements

Type: action

Files:

  • inc/structure/structure-header.php:104

Back to top

flatsome_header_wrapper

Type: action

Files:

  • template-parts/header/header-wrapper.php:24

Back to top

flatsome_portfolio_title_after

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:31
  • template-parts/portfolio/portfolio-title-featured.php:23

Back to top

flatsome_portfolio_title_left

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:21

Back to top

flatsome_portfolio_title_right

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:34

Back to top

flatsome_product_attribute_term_fields

Type: action

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-admin.php:170
  • inc/extensions/flatsome-swatches/includes/class-swatches-admin.php:183

Since: 3.14.0

Back to top

flatsome_product_box_actions

Type: action

Files:

  • woocommerce/content-product.php:63
  • inc/shortcodes/ux_products.php:307
  • inc/shortcodes/ux_products.php:327

Back to top

flatsome_product_box_after

Type: action

Files:

  • woocommerce/content-product.php:81
  • inc/shortcodes/ux_products.php:331

Back to top

flatsome_product_box_tools_bottom

Type: action

Files:

  • woocommerce/content-product.php:60

Back to top

flatsome_product_box_tools_top

Type: action

Files:

  • woocommerce/content-product.php:57
  • inc/shortcodes/ux_products.php:303

Back to top

flatsome_product_image_tools_bottom

Type: action

Files:

  • woocommerce/single-product/product-image-wide.php:86
  • woocommerce/single-product/product-image.php:111
  • woocommerce/single-product/product-image-vertical.php:89

Back to top

flatsome_product_image_tools_top

Type: action

Files:

  • woocommerce/single-product/product-image-default.php:42
  • woocommerce/single-product/product-image-stacked.php:63
  • woocommerce/single-product/product-image-wide.php:87
  • woocommerce/single-product/product-image.php:79
  • woocommerce/single-product/product-image-vertical.php:56

Back to top

flatsome_product_title

Type: action

Files:

  • woocommerce/single-product/headers/header-product-featured-center.php:22
  • woocommerce/single-product/headers/header-product-top.php:13
  • woocommerce/single-product/headers/header-product-featured.php:19

Back to top

flatsome_product_title_tools

Type: action

Files:

  • woocommerce/single-product/headers/header-product-featured-center.php:25
  • woocommerce/single-product/headers/header-product-top.php:17
  • woocommerce/single-product/headers/header-product-featured.php:23

Back to top

flatsome_products_after

Type: action

Files:

  • woocommerce/layouts/category.php:102
  • woocommerce/layouts/category-none.php:91
  • woocommerce/layouts/category-right-sidebar.php:91
  • woocommerce/layouts/category-off-canvas.php:91

Back to top

flatsome_products_before

Type: action

Files:

  • woocommerce/layouts/category-none.php:14
  • woocommerce/layouts/category-right-sidebar.php:14
  • woocommerce/layouts/category-off-canvas.php:14

Back to top

flatsome_sale_flash

Type: action

Files:

  • woocommerce/single-product/product-image-default.php:39
  • woocommerce/single-product/product-image-stacked.php:60
  • woocommerce/single-product/product-image-wide.php:47
  • woocommerce/single-product/product-image.php:76
  • woocommerce/single-product/product-image-vertical.php:53

Back to top

flatsome_woocommerce_shop_loop_images

Type: action

Files:

  • woocommerce/content-product.php:52

Back to top

flatsome_admin_menu_items_enabled

Type: filter

Files:

  • inc/admin/backend/menu/class-menu.php:50

Since: 3.17.1

Back to top

flatsome_ajax_search_function

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:26
  • inc/extensions/flatsome-live-search/flatsome-live-search.php:72

Back to top

flatsome_ajax_search_post_type

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:23

Back to top

flatsome_ajax_search_products_by_sku_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:61

Back to top

flatsome_ajax_search_products_by_tag_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:58

Back to top

flatsome_ajax_search_products_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:54

Back to top

flatsome_ajax_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:22
  • inc/extensions/flatsome-live-search/flatsome-live-search.php:132

Back to top

flatsome_attachment_size

Type: filter

Files:

  • image.php:80

Back to top

flatsome_author_bio_avatar_size

Type: filter

Files:

  • template-parts/posts/content-single.php:54

Since: 3.13.3

Back to top

flatsome_before_body_close_priority

Type: filter

Files:

  • inc/structure/structure-footer.php:107

Back to top

flatsome_custom_product_single_product_hooks

Type: filter

Files:

  • inc/builder/shortcodes/custom-product.php:227

Back to top

flatsome_disable_mini_cart

Type: filter

Files:

  • template-parts/header/partials/element-cart-mobile.php:16
  • template-parts/header/partials/element-cart.php:18

Back to top

flatsome_dummy_text

Type: filter

Files:

  • inc/helpers/helpers-frontend.php:71

Back to top

Type: filter

Files:

  • inc/shortcodes/follow.php:112

Since: 3.17.0

Doc: https://docs.uxthemes.com/article/429-follow-links

Back to top

flatsome_header_account_username

Type: filter

Files:

  • template-parts/header/partials/element-account.php:28

Since: 3.13.2

Back to top

flatsome_header_class

Type: filter

Files:

  • inc/structure/structure-header.php:788

Back to top

flatsome_header_element

Type: filter

Files:

  • inc/admin/options/helpers/options-helpers.php:48

Back to top

flatsome_header_title_class

Type: filter

Files:

  • inc/structure/structure-header.php:808

Back to top

flatsome_icon

Type: filter

Files:

  • inc/helpers/helpers-icons.php:24

Since: 3.16.0

Back to top

flatsome_infinite_scroll_params

Type: filter

Files:

  • inc/extensions/flatsome-infinite-scroll/class-flatsome-infinite-scroll.php:105

Since: 3.6.2

Doc: https://docs.uxthemes.com/article/316-infinite-scroll-disable-history

Back to top

flatsome_lightbox_close_btn_inside

Type: filter

Files:

  • inc/functions/function-setup.php:183

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/378-lightbox-close-button

Back to top

flatsome_lightbox_close_button

Type: filter

Files:

  • inc/functions/function-setup.php:171

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/378-lightbox-close-button

Back to top

flatsome_loop_review_count_html

Type: filter

Files:

  • woocommerce/loop/rating.php:37

Since: 3.16.0

Back to top

flatsome_main_class

Type: filter

Files:

  • inc/structure/structure-header.php:798

Back to top

flatsome_new_flash_html

Type: filter

Files:

  • inc/woocommerce/structure-wc-global.php:326

Since: 3.14.0

Back to top

flatsome_payment_icons

Type: filter

Files:

  • inc/woocommerce/structure-wc-global.php:559

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/351-paymenticons

Back to top

flatsome_product_block

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:99

Since: 3.12.0

Doc: https://docs.uxthemes.com/article/389-custom-product-page

Back to top

flatsome_product_block_primary_term_id

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:13

Since: 3.12.0

Back to top

flatsome_product_block_product_terms_args

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:23

Since: 3.12.0

Back to top

flatsome_product_labels

Type: filter

Files:

  • woocommerce/single-product/sale-flash.php:36
  • woocommerce/loop/sale-flash.php:36

Back to top

flatsome_sale_bubble_percentage_cache_enabled

Type: filter

Files:

  • inc/woocommerce/structure-wc-global.php:353
  • inc/woocommerce/structure-wc-global.php:377

Since: 3.13.2

Back to top

Type: filter

Files:

  • inc/shortcodes/share.php:89

Since: 3.17.0

Doc: https://docs.uxthemes.com/article/428-share-links

Back to top

Type: filter

Files:

  • inc/shortcodes/follow.php:79
  • inc/shortcodes/team_members.php:118

Since: 3.17.0

Back to top

flatsome_show_block_edit_tooltip

Type: filter

Files:

  • inc/post-types/post-type-ux-blocks.php:148

Since: 3.15.0

Back to top

flatsome_sidebar_class

Type: filter

Files:

  • inc/structure/structure-sidebars.php:5

Back to top

flatsome_single_product_thumbnails_classes

Type: filter

Files:

  • woocommerce/single-product/product-gallery-thumbnails.php:49
  • woocommerce/single-product/product-image-vertical.php:118

Since: 3.16.0

Back to top

flatsome_single_product_thumbnails_render_without_attachments

Type: filter

Files:

  • woocommerce/single-product/product-gallery-thumbnails.php:16
  • woocommerce/single-product/product-image-vertical.php:99

Since: 3.16.0

Back to top

flatsome_sticky_add_to_cart_enabled

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-page.php:251
  • inc/woocommerce/structure-wc-product-page.php:282

Since: 3.13.0

Back to top

flatsome_swatch_html

Type: filter

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:185

Since: 3.14.0

Back to top

flatsome_swatch_image_size

Type: filter

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:211
  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:422
  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:701

Since: 3.14.0

Back to top

flatsome_swatches_box_attribute

Type: filter

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:344

Since: 3.15.0

Back to top

flatsome_swatches_cache_enabled

Type: filter

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:363
  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:750
  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:765

Since: 3.14.0

Back to top

flatsome_swatches_cache_time

Type: filter

Files:

  • inc/extensions/flatsome-swatches/includes/class-swatches-frontend.php:377

Since: 3.14.0

Back to top

flatsome_text_formats

Type: filter

Files:

  • inc/structure/structure-admin.php:477

Back to top

flatsome_viewport_meta

Type: filter

Files:

  • inc/structure/structure-header.php:17

Since: 3.9.0

Back to top

flatsome_woocommerce_get_alt_product_thumbnail

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-box.php:67

Back to top

flatsome_woocommerce_shop_loop_category

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-box.php:107

Back to top

flatsome_wpseo_breadcrumb_remove_last

Type: filter

Files:

  • inc/integrations/wp-seo/class-wp-seo.php:53

Back to top


Version: 3.17.1