Created
November 27, 2023 08:20
-
-
Save plugin-republic/264d4cfa155f9755cf63ebddc27719b4 to your computer and use it in GitHub Desktop.
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 the 'Product tags' placeholder | |
*/ | |
function prefix_ptuwc_taxonomy_label( $label, $filterable_column ) { | |
if( $filterable_column == 'product_tag' ) { | |
$label = 'My new placeholder'; | |
} | |
return $label; | |
} | |
add_filter( 'ptuwc_placeholder_label', 'prefix_ptuwc_taxonomy_label', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment