| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | |
| 4 | 4 | use Elementor\Plugin; |
| 5 | 5 | |
| 6 | 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | - exit; // Exit if accessed directly. | |
| 7 | + exit; // Exit if accessed directly | |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | abstract class Base { |
| 11 | 11 | |
| @@ -129,22 +129,8 @@ | ||
| 129 | 129 | public function get_url() { |
| 130 | 130 | $url = set_url_scheme( self::get_base_uploads_url() . $this->files_dir . $this->file_name ); |
| 131 | 131 | |
| 132 | 132 | return add_query_arg( [ 'ver' => $this->get_meta( 'time' ) ], $url ); |
| 133 | - } | |
| 134 | - | |
| 135 | - /** | |
| 136 | - * Get Path | |
| 137 | - * | |
| 138 | - * Returns the local path of the generated file. | |
| 139 | - * | |
| 140 | - * @since 3.5.0 | |
| 141 | - * @access public | |
| 142 | - * | |
| 143 | - * @return string | |
| 144 | - */ | |
| 145 | - public function get_path() { | |
| 146 | - return set_url_scheme( self::get_base_uploads_dir() . $this->files_dir . $this->file_name ); | |
| 147 | 133 | } |
| 148 | 134 | |
| 149 | 135 | /** |
| 150 | 136 | * @since 2.1.0 |