هوکهای Action (Action Hooks)
وقتی باید در نقاط مشخصی از workflow سازنده یا frontend منطق سفارشی اجرا کنید، از هوکهای action Bricks استفاده کنید.
شروع با این هوکهای action
- bricks/query/before_loop — منطق پیش از حلقه
- bricks/query/after_loop — منطق پس از حلقه
- bricks/generate_css_file — workflowهای تولید CSS
همه هوکهای action
- bricks/generate_css_file
- bricks/query/after_loop
- bricks/query/before_loop
- bricks/archive_product/after
- bricks/archive_product/before
- bricks/dynamic_data/after_do_action
- bricks/dynamic_data/before_do_action
- bricks/dynamic_data/tags_registered
- bricks/filter_element/before_set_data_source_from_custom_field
- bricks/form/custom_action
- bricks/frontend/after_render_data
- bricks/frontend/before_render_data
- bricks/query_filters/index_post/before
- bricks/query_filters/index_user/before
- bricks/query/query_api_response
- bricks/render_popup_content/start
- bricks/render_query_page/start
- bricks/render_query_result/start