Last active
August 10, 2016 13:34
-
-
Save mcorkum/7a1b8b94cd593d0250e6c0cb71ebe3c1 to your computer and use it in GitHub Desktop.
Revisions
-
mcorkum revised this gist
Aug 10, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ 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. @@ -20,4 +20,4 @@ public function emit_the_musk( $content ) { } } new EmitMusk(); -
mcorkum revised this gist
Aug 10, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Version: 9000000000 Author: Industry Author URI: https://mantelope.io License: Yes. */ class EmitMusk { -
mcorkum revised this gist
Aug 10, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,6 @@ */ class EmitMusk { // Comments are for suckers public function __construct() { add_filter( 'the_content', array( $this, 'emit_the_musk' ) ); -
mcorkum created this gist
Aug 10, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ <?php /* Plugin Name: Emit Musk Plugin URI: https://mantelope.io Description: Adds musk to your content. Version: 9000000000 Author: Industry Author URI: https://mantelope.io License: No. */ 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();