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 characters
<?php | |
/** | |
* Plugin Name: Pronamic IDEAL Notice Killer | |
* Plugin URI: https://hostmijnpagina.nl/ | |
* Description: Disables Annoying Pronamic iDeal upgrade nag until you reach 15 purchases. | |
* Version: 1.0.0 | |
* Author: Sybre Waaijer | |
* Author URI: https://cyberwire.nl/ | |
* License: GPLv3 | |
*/ |
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 characters
<?php | |
/* | |
Plugin Name: Hello Dolly OOP example | |
Plugin URI: https://wordpress.org/plugins/hello-dolly/ | |
Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page. | |
Author: Matt Mullenweg (and set to OOP by Sybre Waaijer) | |
Version: 1.6.oop | |
Author URI: http://ma.tt/ | |
*/ |
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 characters
<?php | |
/** | |
* Converts array to make a compatible list for both PHP5 and PHP7. | |
* | |
* @param array $array The array to convert. | |
* @return array $list in correct order to use PHPFUNCTION list(). | |
*/ | |
function prepare_list( array $array = array() ) { | |
if ( PHP_VERSION_ID >= 70000 ) |
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 characters
<?php | |
\add_filter( 'wc_add_to_cart_message', function( $string, $product_id = 0 ) { | |
$start = strpos( $string, '<a href=' ) ?: 0; | |
$end = strpos( $string, '</a>', $start ) ?: 0; | |
return substr( $string, $end ) ?: $string; | |
} ); |
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 characters
<?php | |
/** | |
* wpForo + The SEO Framework compatibility hook. | |
*/ | |
add_action( 'init', function() { | |
//* Only work on is_wpforo_page and when the_seo_framework is found. | |
if ( function_exists( 'the_seo_framework' ) && function_exists( 'is_wpforo_page' ) && is_wpforo_page() ) { | |
//* Fix titles. |
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 characters
<?php | |
/** | |
* Plugin Name: Search Canonical Push for Google Analytics | |
* Plugin URI: https://theseoframework.com/ | |
* Description: This plugin adds a small script to Search archives that optimizes the Google Analytics script when using pretty Search links. | |
* Version: 1.0.1 | |
* Author: Sybre Waaijer | |
* Author URI: https://theseoframework.com/ | |
* License: GPLv3 | |
*/ |
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 characters
<?php | |
// Don't include the php tag. | |
//= First filter: Unsets NextScripts SNAP from check. | |
add_filter( 'the_seo_framework_conflicting_plugins', function( $plugins ) { | |
unset( $plugins['open_graph']['NextScripts SNAP'] ); | |
return $plugins; | |
} ); |
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 characters
<?php | |
/** | |
* Plugin Name: Reset TSFEM activation settings | |
* Plugin URI: https://theseoframework.com/ | |
* Description: Activate this plugin to remove TSF - Extension Manager activation settings. | |
* Author: Sybre Waaijer | |
* Version: 1.0.0 | |
* Author URI: https://cyberwire.nl/ | |
*/ |
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 characters
<?php | |
/** | |
* Plugin Name: Reset TSF testing settings | |
* Plugin URI: https://theseoframework.com/ | |
* Description: Activate this plugin to remove TSF testing settings. | |
* Author: Sybre Waaijer | |
* Version: 1.0.0 | |
* Author URI: https://cyberwire.nl/ | |
*/ | |
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 characters
<?php | |
/** | |
* @package TSF_Extension_Manager/Bootstrap | |
*/ | |
namespace TSF_Extension_Manager; | |
defined( 'TSF_EXTENSION_MANAGER_DB_VERSION' ) or die; | |
/** | |
* The SEO Framework - Extension Manager plugin |
OlderNewer