Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
wordpress snippets
// Remove x-pingback header tag
function remove_x_pingback($headers)
{
unset($headers['X-Pingback']);
return $headers;
}
add_filter('wp_headers', 'remove_x_pingback');
// ===
// Change user password manually for testing
// 1. Use phpMyAdmin, go to [wp_users] table
// 2. Edit specific user
// 3. At [Funtion] column, choose : MD5
// 4. At [Value] column, type password you want
// 5. Save changes
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.