Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My Function
<?php
function my_function() {
// contents of function go here
}
add_action( 'pre_get_posts', 'my_function');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment