PHP code example of wp-digital / wp-start-up

1. Go to this page and download the library: Download wp-digital/wp-start-up 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/ */

    

wp-digital / wp-start-up example snippets


define( 'BUGSNAG_TOKEN', '' );
define( 'BUGSNAG_PROJECT', '' );

define( 'PINGDOM_TOKEN', '' );
define( 'PINGDOM_PROJECT', '' );

add_filter( 'wp_start_up_integrations', function( array $integrations ): array {
    $integrations[] = new YourCustomIntegration();

    return $integrations;
} );

add_filter( 'wp_start_up_default_storage', function(): \WPD\WPStartUp\Interfaces\StorageInterface {
    return new YourCustomStorage();
} );

add_filter( 'wp_start_up_default_sender', function(): \WPD\WPStartUp\Interfaces\SenderInterface {
    return new YourCustomSender();
} );