1. Go to this page and download the library: Download ironbound/wp-notifications library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$queue = new WP_Cron( new Options_Storage( 'your-project-name' ) );
$queue->process( $notifications, new WP_Mail() );
add_action( 'ibd_wp_notifications_template_manager_your-notification', function( Manager $manager ) {
// a template tag of {first_name} will be automatically replaced
// with the recipient's first name when sending.
$manager->add_listener( new Listener( 'first_name', function( WP_User $recipient ) {
return $recipient->first_name;
} ) );
} );
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.