← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/About_us.php
+1
-15
4.0.6
→
3.11.14
View file →
| @@ -95,11 +95,8 @@ | ||
| 95 | 95 | if ( ! isset( $this->about_data['location'] ) ) { |
| 96 | 96 | return; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - // Refresh the about data to get the latest changes. | |
| 100 | - $this->about_data = apply_filters( $this->product->get_key() . '_about_us_metadata', array() ); | |
| 101 | - | |
| 102 | 99 | add_submenu_page( |
| 103 | 100 | $this->about_data['location'], |
| 104 | 101 | Loader::$labels['about_us']['title'], |
| 105 | 102 | Loader::$labels['about_us']['title'], |
| @@ -202,9 +199,8 @@ | ||
| 202 | 199 | */ |
| 203 | 200 | private function get_about_localization_data() { |
| 204 | 201 | $links = isset( $this->about_data['page_menu'] ) ? $this->about_data['page_menu'] : []; |
| 205 | 202 | $product_pages = isset( $this->about_data['product_pages'] ) ? $this->about_data['product_pages'] : []; |
| 206 | - $page_slug = $this->get_about_page_slug(); | |
| 207 | 203 | |
| 208 | 204 | return [ |
| 209 | 205 | 'links' => $links, |
| 210 | 206 | 'logoUrl' => $this->about_data['logo'], |
| @@ -209,19 +205,10 @@ | ||
| 209 | 205 | 'links' => $links, |
| 210 | 206 | 'logoUrl' => $this->about_data['logo'], |
| 211 | 207 | 'productPages' => $this->get_product_pages_data( $product_pages ), |
| 212 | 208 | 'products' => $this->get_other_products_data(), |
| 213 | - 'services' => [ | |
| 214 | - 'websiteDesignUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-website-design/', 'services-website-design', $page_slug ), | |
| 215 | - 'supportUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-support/', 'services-support', $page_slug ), | |
| 216 | - 'speedUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-speed-optimization/', 'services-speed-optimization', $page_slug ), | |
| 217 | - 'seoFoundationUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-seo-foundation/', 'services-seo-foundation', $page_slug ), | |
| 218 | - 'maintenanceUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-maintenance/', 'services-maintenance', $page_slug ), | |
| 219 | - 'hackedRepairUrl' => tsdk_utmify( 'https://themeisle.com/wordpress-hacked-site-repair/', 'services-hacked-site-repair', $page_slug ), | |
| 220 | - 'exploreAllUrl' => tsdk_utmify( 'https://themeisle.com/services/', 'services-explore-all', $page_slug ), | |
| 221 | - ], | |
| 222 | 209 | 'homeUrl' => esc_url( home_url() ), |
| 223 | - 'pageSlug' => $page_slug, | |
| 210 | + 'pageSlug' => $this->get_about_page_slug(), | |
| 224 | 211 | 'currentProduct' => [ |
| 225 | 212 | 'slug' => $this->product->get_key(), |
| 226 | 213 | 'name' => $this->product->get_name(), |
| 227 | 214 | ], |
| @@ -234,9 +221,8 @@ | ||
| 234 | 221 | 'teamImageCaption' => Loader::$labels['about_us']['teamImageCaption'], |
| 235 | 222 | 'newsHeading' => Loader::$labels['about_us']['newsHeading'], |
| 236 | 223 | 'emailPlaceholder' => Loader::$labels['about_us']['emailPlaceholder'], |
| 237 | 224 | 'signMeUp' => Loader::$labels['about_us']['signMeUp'], |
| 238 | - 'services' => Loader::$labels['about_us']['services'], | |
| 239 | 225 | 'installNow' => Loader::$labels['about_us']['installNow'], |
| 240 | 226 | 'activate' => Loader::$labels['about_us']['activate'], |
| 241 | 227 | 'learnMore' => Loader::$labels['about_us']['learnMore'], |
| 242 | 228 | 'installed' => Loader::$labels['about_us']['installed'], |