My Sublime Text 3 settings & packages

Here are the few packages that I use with Sublime Text 3. Alignment HTML-CSS-JS Prettify Terminal Wordโ€‹Press Completions I will add some settings later here.

WP Rocket Hooks

after_rocket_clean_post action is fired when you clear cache of a post. add_action( ‘after_rocket_clean_post’, function( $post, $purge_urls, $lang ) { if ( $post->post_name == ‘foo’ ) { rocket_clean_files( ‘’ ); } }, 10, 3 ); after_rocket_clean_domain action is fired when you …

Read moreWP Rocket Hooks

Useful Linux Commands

Run command without output nohup command &> /dev/null Run command in background without output nohup command &> /dev/null & List all files find . -type f -printf “%[email protected] %p\n” | cut -d\ -f2-  

Useful Yoast Hacks

I use Yoast SEO on all of my wordpress setup. Here are some hacks that I use for it. Disable Yoast JSON-LD Completely add_filter( ‘wpseo_json_ld_output’, ‘__return_false’ ); Noindex paginated pages Since the version 7.0 Yoast SEO started paginated pages indexation …

Read moreUseful Yoast Hacks