Skip to content

Instantly share code, notes, and snippets.

@CodeNegar
Last active August 29, 2015 14:19
Show Gist options
  • Save CodeNegar/df0ba903081c2e153106 to your computer and use it in GitHub Desktop.
Save CodeNegar/df0ba903081c2e153106 to your computer and use it in GitHub Desktop.
set post views
<?php
setPostViews(get_the_ID());
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment