Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter 'Edit Options' text
<?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