Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Bookshop - change the author attribute
add_filter( 'bookshop_author_attribute', 'jk_new_author_attribute' );
function jk_new_author_attribute( $attribute ) {
$attribute = 'pa_newattribute';
return $attribute;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.