-
-
Save billerickson/004968700bf5200d43fdd49133da74d9 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 | |
/** | |
* Move Shared Counts | |
* @see https://www.billerickson.net/code/shared-counts-theme-location/ | |
* | |
* @param array $locations | |
* @return array | |
*/ | |
function ea_shared_counts_location( $locations ) { | |
$locations['before']['hook'] = 'ea_post_intro'; | |
return $locations; | |
} | |
add_filter( 'shared_counts_theme_locations', 'ea_shared_counts_location' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment