0

I am using the Avada theme, and WooCommerce. This is mostly a question about hook / filter syntax and usage.

I need to move the breadcrumbs from the normal place, inside the page title bar, another place on the page. I am successfully inserting echo of "move_test" using the action woocommerce_before_single_product_summary.

add_action( 'woocommerce_before_single_product_summary', 'blue_custom_action', 5 ); function blue_custom_action() { echo 'move_test'; }

Now i just need to insert the contents of the page title bar instead of "move_test". I think I need to use the filter: avada_page_title_bar_contents which in Avada dev docs it has

Default Value: array( $title, $subtitle, $secondary_content )

So how and do I get those array values from the filter so i can insert them were i already did "move_test"?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.