Skip to content

Instantly share code, notes, and snippets.

@onocom
Created January 25, 2016 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onocom/215e2edbd012d27c7626 to your computer and use it in GitHub Desktop.
Save onocom/215e2edbd012d27c7626 to your computer and use it in GitHub Desktop.
<?php
add_filter( 'is_lightning_extend_loop', 'oc_is_extend_loop');
function oc_is_extend_loop() {
return true;
}
add_action( 'lightning_extend_loop', 'oc_extend_loop');
function oc_extend_loop() {
// loop
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment