// Notify Slack when a plugin, theme, or WordPress core is updated add_action(‘upgrader_process_complete’, ‘notify_slack_updates_v2’, 10, 2); function notify_slack_updates_v2($upgrader_object, $options) { $slackURL = “https://hooks.slack.com/services/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”; // Replace with your Slack Webhook URL $site_name = get_bloginfo(‘name’); // Plugin Updates if ($options[‘type’] === ‘plugin’…Continue reading
/** * @link https://library.wpcode.com/snippet/j57gxn45/ */ add_action( ‘simpay_payment_receipt_viewed’, /** * Runs the first time the payment confirmation page is viewed. * * @param array $payment_confirmation_data */ function( $payment_confirmation_data ) { // Payment customer data (not used in this example). $customer =…Continue reading
add_filter( ‘aioseo_report_summary_enable’, ‘__return_false’ );Continue reading
add_filter( ‘aioseo_toc_hash_prefix’, function( $prefix ) { return ”; } );Continue reading
add_filter( ‘aioseo_toc_hash_prefix’, function( $prefix ) { return ‘mysite-‘; } );Continue reading