-
-
Save kjohnson/c93e6d5701778149bcf53a8c11afe470 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 | |
function my_plugins_loaded(){ | |
$posts = get_posts(); | |
} | |
add_action( 'plugins_loaded', 'my_plugins_loaded' ); | |
function my_parse_query(){ | |
$var = get_query_var( 'foo', false ); | |
} | |
add_action( 'parse_query', 'my_parse_query' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment