Skip to content

Instantly share code, notes, and snippets.

@billerickson

billerickson/functions.php Secret

Created Oct 22, 2015
Embed
What would you like to do?
<?php
/**
* Gather data on recent posts
*
*/
function be_gather_share_data() {
ea_share()->core->prime_the_pump( 100, 20, true );
// 100 = total posts you want with share counts
// 20 = how many posts to process in one pageload
// true = whether to display a message indicating status (requires ea_pp() )
}
add_action( 'wp_footer', 'be_gather_share_data' );
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.