Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin tommcfarlin/00-using-the-plugin.php Secret
Last active Jan 10, 2019

Embed
What would you like to do?
[WordPress] Tags Without Links 1.4.0
<?php
use TomMcFarlin\TagsWithoutLinks;
/*
* Other code here that you may have in your plugin.
*/
$tagsWithoutLinks = new TagsWithoutLinks(' | ');
// Print the unlinked tags.
$tagsWithoutLinks->display();
// Retrieve the string of unlinked tags.
$result = $tagsWithoutLinks->get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.