Support » Plugins » [Plugin: Penispress] Any word you want!

  • Hello, i dont know if this plugin is spam or a nonsense plugin. But i add some Admin options to this plugin, so now you can choose any word you want!
    here is the modified source code
    if you are copy&pasting this, don’t forget the Plugin commented header

    * if you are copy&pasting this, don't forget
    * the Plugin commented header
    add_filter('the_content', 'addPenispress');
    add_action('admin_menu', 'penispress_menu');
    function addPenispress($content)
    	$Result = null;
    	$opt_word = get_option('penis_replace_word');
    	$replace_word = (!empty($opt_word)) ? $opt_word." " : "Penis ";
    		$Contents = explode(" ",$content);
    		foreach($Contents as $Key => $Wort)
    			$Result .= $replace_word;
    		return $Result;
    function penispress_menu() {
    	add_options_page('Penis Wordreplacement', 'Penis Replace', 'manage_options', __FILE__, 'penispress_options');
    function penispress_options() {
    	<div class="wrap">
    	<form method="post" action="options.php">
    	<?php wp_nonce_field('update-options'); ?>
    	<table class="form-table">
    	<tr valign="top">
    	<th scope="row">Choose your own replace Word!</th>
    	<td><input type="text" name="penis_replace_word" value="<?php echo get_option('penis_replace_word'); ?>" /><small> (you can choose words like incre&iacute;ble, uuuuuuooooooo... use your imagination)</td>
    	<input type="hidden" name="action" value="update" />
    	<input type="hidden" name="page_options" value="penis_replace_word" />
    	<p class="submit">
    	<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />

Viewing 4 replies - 1 through 4 (of 4 total)
  • 🙂 great Job!

    Right away when I saw the plugin I wished it would say “bitch” instead of “penis”. Thanks for the tweak. I can’t wait to try it out!

    ^____^ plugin options!. You really should release this on april so nobody will take it seriously.

    It’s an attention getter. I’d like to see a mod for comments in case you wanted to alter certain words there. It would be fun for people who call me names to add “but that’s just me and I’m a complete wanker” to their comments for a day or something.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Penispress] Any word you want!’ is closed to new replies.