Modern Web Development

Welcome to cleody.com

A blog, focused on Laravel, WordPress, Webdesign and LAMP server administration.

2016-02-02

Plugin Header Example

You can use the snippet below as plugin header for custom plugins:

<?php
/*
Plugin Name: My Plugin
Plugin URI: https://dev.sewid.de/wpkb
Description: My Plugin Description
Version: 0.1.0
Author: Sebastian Widmann
Author URI: https://www.sebastian-widmann.de
Text Domain: my-plugin
Domain Path: /...
2016-02-01

Clean Up wp_head()

If you want to clean up the wp_head() generated by WordPress, you can use the snippet below:

remove_action( 'wp_head', 'rsd_link' );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'start_post_rel_link' );
remove_action( 'wp...