35 lines
1.5 KiB
PHP
35 lines
1.5 KiB
PHP
<?php
|
|
|
|
return apply_filters( 'ninja-forms-dashboard-promotions', array(
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Ninja Mail
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'ninja-mail' => array(
|
|
'id' => 'ninja-mail',
|
|
'content' => '<a href="#services"><span class="dashicons dashicons-email-alt"></span>' . __( 'Hosts are bad at sending emails. Improve the reliability of your submission emails! ', 'ninja-forms' ) . '<br /><span class="cta">' . __( 'Try our new Ninja Mail service!', 'ninja-forms' ) . '</span></a>',
|
|
'script' => "
|
|
setTimeout(function(){ /* Wait for services to init. */
|
|
Backbone.Radio.channel( 'dashboard' ).request( 'more:service:ninja-mail' );
|
|
}, 500);
|
|
"
|
|
),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Ninja Shop
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'ninja-shop' => array(
|
|
'id' => 'ninja-shop',
|
|
'content' => '<a href="https://getninjashop.com/?utm_medium=dashboard_banner&utm_source=ninja-forms&utm_campaign=Awareness" target="_blank" style="color:#FFF !important;background:#5DA54B;"><span class="dashicons dashicons-cart"></span>' . __( 'Are you frustrated with complicated eCommerce solutions?', 'ninja-forms' ) . '<br /><span class="cta">' . __( 'Start Selling Today With Ninja Shop!', 'ninja-forms' ) . '</span></a>',
|
|
'script' => "",
|
|
),
|
|
|
|
));
|