Categories
The Vault

Remove the “Send Trackbacks” Post Meta Box

Be honest: Have you ever used the “Send Trackbacks” box on the WordPress post editing screen? No?

Have you even noticed that such a box exists at all? It’s likely pushed down quite a bit, especially if you’re rocking Thesis, which adds a few additional meta boxes which may push the trackbacks box farther down the page.

You can easily hide the “Send Trackbacks” box via the “Screen Options” panel near the top of the page, but that’s a simple style trick; WordPress will still have to process and output that panel every time you load the add or edit post screens.

To do away with the box altogether, simply drop the following code into your custom_functions.php file:

/**
 * Eradicate the "Send Trackbacks" post meta box
 */
function brazenly_remove_trackback_meta_box() {
	remove_meta_box( 'trackbacksdiv', 'post', 'normal' );
}
add_action('admin_menu','brazenly_remove_trackback_meta_box' );

2 replies on “Remove the “Send Trackbacks” Post Meta Box”

The difference is that the screen options only hide the panel on the client side. It’s still processed and sent to your browser (hide one, refresh the page, then search for it in the page source to confirm, if you want). This code saves that processing time & bandwidth, even if it is a small savings.

Join the Discussion

Your email address will not be published. Required fields are marked *

Comments must be made in accordance with the comment policy. Use your Gravatar-enabled email address while commenting to automatically enhance your comment with some of Gravatar's open profile data.

You may use Markdown to format your comments; additionally, these HTML tags and attributes may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>