← All changes
|
modules/home/transformations/create-new-page-url.php
+2
-2
4.3.0
→
3.26.2
View file →
| @@ -4,15 +4,15 @@ | ||
| 4 | 4 | use Elementor\Modules\Home\Transformations\Base\Transformations_Abstract; |
| 5 | 5 | use Elementor\Plugin; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class Create_New_Page_Url extends Transformations_Abstract { |
| 12 | 12 | |
| 13 | 13 | public function transform( array $home_screen_data ): array { |
| 14 | - $home_screen_data['button_cta_url'] = Plugin::$instance->documents->get_create_new_post_url( 'page' ); | |
| 14 | + $home_screen_data['create_new_page_url'] = Plugin::$instance->documents->get_create_new_post_url( 'page' ); | |
| 15 | 15 | |
| 16 | 16 | return $home_screen_data; |
| 17 | 17 | } |
| 18 | 18 | } |