Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example function return run through a WordPress filter.
* Gets the username of the logicmelon feed as set on the plugins
* settings page in the admin.
* @return string the username of the feed or empty string if not set.
function hdji_get_username() {
return apply_filters( 'hdji_get_username', get_option( 'hdji_username' ) );
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.