Created
September 4, 2020 09:02
-
-
Save plugin-republic/ffc84d84846659b4a4de7f737e7dba6f to your computer and use it in GitHub Desktop.
Filter 'Edit Options' text
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 | |
/** | |
* Filter 'Edit Options' text | |
*/ | |
function prefix_after_cart_item_edit_options_text( $text, $product_id ) { | |
$text = 'My new text here'; | |
return $text; | |
} | |
add_filter( 'pewc_after_cart_item_edit_options_text', 'prefix_after_cart_item_edit_options_text', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment