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: My Jetpack Stats Column | |
* Plugin URI: http://xlino.com/projects/adding-a-stats-column-for-jetpack/ | |
* Author: birgire | |
* Description: Adds a stats column to the posts table on the edit.php screen | |
* Version: 1.0.0 | |
*/ | |
add_action( 'admin_init', function() |
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: Debug Rapyd Card payment callback. | |
* Description: This plugin saves the payload from the Rapyd Card callback into the order meta under the 'debug' key. | |
* Plugin URI: https://gist.github.com/birgire/beb3806eb15db4431e2ae0c35c6b53c4 | |
* Author: birgire | |
* Author URI: https://github.com/birgire | |
* License: MIT | |
* Version: 0.0.4 | |
*/ |
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
/* add this to your theme's functions.php file */ | |
/* Add option for URL to column settings */ | |
vc_add_param("vc_column", array( | |
"type" => "vc_link", | |
"class" => "", | |
"heading" => "Column Link", | |
"param_name" => "column_link" | |
)); |
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
/** | |
* Inject Ads To WordPress Comments - end-callback for wp_list_comments(). | |
* | |
* The Ads HTML is sanitized through wp_kses_post(). | |
* | |
* @version 1.0.11 | |
* @see https://wordpress.stackexchange.com/a/328155/26350 | |
*/ | |
function wpse_comments_ads_injection( $comment, $args, $depth ) { | |
static $instance = 0; |
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 | |
/** | |
* @version: 1.0.3 | |
* @see http://stackoverflow.com/questions/38551606/do-not-submit-form-after-wrong-code/38602177 | |
*/ | |
add_filter( 'login_form', function() | |
{ | |
$options = get_option( 'authcode_settings' ); |
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: Ping Screenshots Capture | |
* Description: Ping screenshots capture generation using an hidden iframe only once for published posts | |
* Version: 1.0.0 | |
* Author: birgire | |
*/ | |
namespace PingScreenshotCapture; |
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: Term Editor Search Field | |
* Description: Adds Search fields to the term editor. | |
* Plugin URI: https://gist.github.com/birgire/22a57ad1eed45e366cc1d47575bba0b1 | |
* Author: birgire | |
* Version: 1.0.2 | |
*/ | |
/** |
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: Extend the tag search | |
* Description: Search for name, slug or description in the tag search in /wp-admin/edit-tags.php?taxonomy=post_tag. | |
* Plugin URI: https://gist.github.com/birgire/4a43dbe1b7566aa0f162b59066276d15 | |
* Author: birgire | |
* Version: 1.0.0 | |
*/ | |
/** |
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
/** | |
* Retrieve category list in either HTML list or custom format. | |
* | |
* @since 1.5.1 | |
* | |
* @global WP_Rewrite $wp_rewrite | |
* | |
* @param string $separator Optional, default is empty string. Separator for between the categories. | |
* @param string $parents Optional. How to display the parents. | |
* @param int $post_id Optional. Post ID to retrieve categories. |
NewerOlder