Last active
August 10, 2016 13:34
-
-
Save mcorkum/7a1b8b94cd593d0250e6c0cb71ebe3c1 to your computer and use it in GitHub Desktop.
MUSK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Emit Musk | |
Plugin URI: https://mantelope.io | |
Description: Adds musk to your content. | |
Version: 9,000,000,000.7684728 ½ | |
Author: Industry | |
Author URI: https://mantelope.io | |
License: Yes. | |
*/ | |
class EmitMusk { | |
// Comments are for suckers | |
public function __construct() { | |
add_filter( 'the_content', array( $this, 'emit_the_musk' ) ); | |
} | |
public function emit_the_musk( $content ) { | |
return $content . '<p>Musk</p>'; | |
} | |
} | |
new EmitMusk(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment