WP Dispensary Action Hooks

Below is a list of the current WP Dispensary core plugin action hooks and the files they’re included in. File: admin/post-types/wp-dispensary-widgets.php wpd_flowers_widget_before wpd_flowers_widget_inside_loop_before wpd_flowers_widget_inside_top wpd_flowers_widget_inside_bottom wpd_flowers_widget_inside_loop_after wpd_flowers_widget_after wpd_concentrates_widget_before wpd_concentrates_widget_inside_loop_before wpd_concentrates_widget_inside_top wpd_concentrates_widget_inside_bottom wpd_concentrates_widget_inside_loop_after wpd_concentrates_widget_after wpd_edibles_widget_before wpd_edibles_widget_inside_loop_before wpd_edibles_widget_inside_top wpd_edibles_widget_inside_bottom wpd_edibles_widget_inside_loop_after wpd_edibles_widget_after wpd_prerolls_widget_before wpd_prerolls_widget_inside_loop_before wpd_prerolls_widget_inside_top wpd_prerolls_widget_inside_bottom wpd_prerolls_widget_inside_loop_after wpd_prerolls_widget_after wpd_topicals_widget_before wpd_topicals_widget_inside_loop_before wpd_topicals_widget_inside_top wpd_topicals_widget_inside_bottom wpd_topicals_widget_inside_loop_after wpd_topicals_widget_after wpd_growers_widget_before wpd_growers_widget_inside_loop_before wpd_growers_widget_inside_top wpd_growers_widget_inside_bottom […]

Comments Off on WP Dispensary Action Hooks

eCommerce Action Hooks

Below is a list of the current eCommerce add-on action hooks and the files they’re included in. File: cart/cart-shortcode.php wpd_ecommerce_cart_table_before wpd_ecommerce_cart_table_inside_body_before wpd_ecommerce_cart_table_inside_body_after wpd_ecommerce_cart_table_after wpd_ecommerce_cart_wrap_before wpd_ecommerce_cart_totals_before wpd_ecommerce_cart_totals_inside_before wpd_ecommerce_cart_totals_inside_after wpd_ecommerce_cart_totals_after wpd_ecommerce_cart_wrap_after File: cart/cart-widget.php wpd_ecommerce_widget_before wpd_ecommerce_widget_after File: checkout/checkout-shortcode.php wpd_ecommerce_checkout_billing_details_form_before wpd_ecommerce_checkout_billing_details_form_inside_before wpd_ecommerce_checkout_billing_details_form_after_billing_details_title wpd_ecommerce_checkout_billing_details_form_after_billing_details wpd_ecommerce_checkout_billing_details_form_after_your_order_title File: patients/patient-account-shortcode.php wpd_ecommerce_patient_account_form_before wpd_ecommerce_patient_account_form_before_inside wpd_ecommerce_patient_account_contact_information_before wpd_ecommerce_patient_account_contact_information_after wpd_ecommerce_patient_account_password_change_before wpd_ecommerce_patient_account_form_inside_after wpd_ecommerce_patient_account_form_after File: templates/archive-items.php wpd_ecommerce_templates_archive_items_before wpd_ecommerce_templates_archive_items_wrap_before wpd_ecommerce_archive_items_product_before wpd_ecommerce_archive_items_product_inside_before […]

Comments Off on eCommerce Action Hooks

Add your selected dispensary location(s) to shortcode output

This is a code snippet that utilizes the Dispensary Locations add-on and displays the selected location(s) for each menu item through the included WP Dispensary action hook. If you have multiple dispensaries or only deliver specific menu items to specific cities, you can utilize this code to display the location name that also links your […]

wpd_growers_widget_after

Action hook that displays after the Growers widget Example code File location: /wp-dispensary/admin/wp-dispensary-widgets.php

Comments Off on wpd_growers_widget_after

wpd_growers_widget_inside_bottom

Action hook that displays inside the bottom of the Growers widget Example code File location: /wp-dispensary/admin/wp-dispensary-widgets.php

Comments Off on wpd_growers_widget_inside_bottom

wpd_growers_widget_inside_top

Action hook that displays inside the top of the Growers widget Example code File location: /wp-dispensary/admin/wp-dispensary-widgets.php

Comments Off on wpd_growers_widget_inside_top

wpd_growers_widget_before

Action hook that displays before the Growers widget Example code File location: /wp-dispensary/admin/wp-dispensary-widgets.php

Comments Off on wpd_growers_widget_before