dashboard.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Social sharing widget in dashboard. |
| 4 | * |
| 5 | * @var Opt_In $this |
| 6 | * |
| 7 | * @package Hustle |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | $capitalize_singular = esc_html__( 'Pop-up', 'hustle' ); |
| 12 | $capitalize_plural = esc_html__( 'Pop-ups', 'hustle' ); |
| 13 | $smallcaps_singular = esc_html__( 'pop-up', 'hustle' ); |
| 14 | $smallcaps_plural = esc_html__( 'pop-ups', 'hustle' ); |
| 15 | |
| 16 | $this->render( |
| 17 | 'admin/dashboard/templates/widget-modules', |
| 18 | array( |
| 19 | 'modules' => $popups, |
| 20 | 'widget_name' => $capitalize_plural, |
| 21 | 'widget_type' => Hustle_Module_Model::POPUP_MODULE, |
| 22 | 'capability' => $capability, |
| 23 | 'description' => esc_html__( 'Pop-ups show up over your page content automatically and can be used to highlight promotions and gain email subscribers.', 'hustle' ), |
| 24 | 'smallcaps_singular' => $smallcaps_singular, |
| 25 | 'capitalize_singular' => $capitalize_singular, |
| 26 | ) |
| 27 | ); |
| 28 |