For my first CPT, it seemed great that I could hook a function to post_updated_messages and customize the post messages. When I tried the same for 4 CPTs, only the last filter added was having any effect. Here’s my new DRY method. function set_custom_messages( $messages ) { global $post, $post_ID; $post_type = get_post_type( $post_ID ); $obj […]
Archives for May 2014
Ubuntu Boot Volume full of Old Kernels
Get current kernel uname -r List all installed kernels dpkg –list | grep linux-image Remove kernels lower than current ( maybe save 1 ) sudo apt-get purge linux-image-x.x.x.x-generic Update Grub2 sudo update-grub2