Created
June 15, 2016 15:18
-
-
Save jameskoster/7d06324aac4288fc91290850030c03f9 to your computer and use it in GitHub Desktop.
Bookshop - change the author attribute
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
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