-
-
Save BeardedGinger/8ebeffa2a5e6e36b062331793caf76e1 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 | |
// Get the total count of posts from each blog | |
$network_post_count = array_sum( $network_post_count ); | |
$count = str_pad( $network_post_count, 2, '0', STR_PAD_LEFT ); | |
update_user_meta( $user_id, 'network_post_count', $count ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment