| 1 |
<?php |
| 2 |
namespace Elementor\Core\Debug\Classes; |
| 3 |
|
| 4 |
class Shop_Page_Edit extends Inspection_Base { |
| 5 |
|
| 6 |
public function run() { |
| 7 |
return false; |
| 8 |
} |
| 9 |
|
| 10 |
public function get_name() { |
| 11 |
return 'shop-page-edit'; |
| 12 |
} |
| 13 |
|
| 14 |
public function get_message() { |
| 15 |
return esc_html__( 'You are trying to edit the Shop Page although it is a Product Archive. Use the Theme Builder to create your Shop Archive template instead', 'elementor' ); |
| 16 |
} |
| 17 |
|
| 18 |
public function get_help_doc_url() { |
| 19 |
return 'https://elementor.com/help/the-content-area-was-not-found-error/#error-appears-on-woocommerce-pages'; |
| 20 |
} |
| 21 |
|
| 22 |
public function get_header_message() { |
| 23 |
return esc_html__( 'Sorry, The content area was not been found on your page', 'elementor' ); |
| 24 |
} |
| 25 |
} |
| 26 |
|