Skip to content

Instantly share code, notes, and snippets.

@Darklg
Last active January 1, 2016 20:09
Show Gist options
  • Save Darklg/8195666 to your computer and use it in GitHub Desktop.
Save Darklg/8195666 to your computer and use it in GitHub Desktop.
Extract WordPress functions from reference http://codex.wordpress.org/Function_Reference
var archive = [];
jQuery('#bodyContent').find('table[cellspacing]').find('tt a').each(function() {
archive.push(jQuery(this).text().trim())
});
console.log(JSON.stringify(archive));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment