This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Replace main image with selected image swatch | |
*/ | |
function prefix_get_add_on_image_action( $action ) { | |
return 'replace_hide'; | |
} | |
add_filter( 'pewc_get_add_on_image_action', 'prefix_get_add_on_image_action' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment