Skip to content

Override function in woocommerce/inc/wp-loop.php #597

Answered by crftwrk
xoneill007 asked this question in Q&A
Discussion options

You must be logged in to vote

bootscore-child-main/woocommerce/inc/wc-loop.php isn't a template file and you cannot override it by storing a copy in your child. But I see, this function is still not pluggable and can't be overridden in child yet.

Are you able to create a Pull Request and wrap this function in a if ... endif statement to make this function pluggable? This would be the fastest way to solve this. Otherwise, please open an issue that we have this on our tracking list. But it will take some time for us to fix this.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@xoneill007
Comment options

@crftwrk
Comment options

@xoneill007
Comment options

@crftwrk
Comment options

@xoneill007
Comment options

Answer selected by xoneill007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants