Advertisement
This is comment for paste
WooCommerce - Add order notes column to orders list
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The PHP function strpos() can do that.
- if( strpos( $note->content, 'Answer to the Secret Question' ) === 0 ) {
- The === means the test string must be at the beginning of the content to give TRUE.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement