PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.3
Elementor Website Builder – more than just a page builder v3.4.3
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/frontend.php +39 -2 3.4.23.4.3 View file →
@@ -858,8 +858,17 @@
858 858 'tr_TR' => 'latin-ext',
859 859 'lt_LT' => 'latin-ext',
860 860 ];
861 861
862 + /**
863 + * Google font subsets.
864 + *
865 + * Filters the list of Google font subsets from which locale will be enqueued in frontend.
866 + *
867 + * @since 1.0.0
868 + *
869 + * @param array $subsets A list of font subsets.
870 + */
862 871 $subsets = apply_filters( 'elementor/frontend/google_font_subsets', $subsets );
863 872
864 873 $locale = get_locale();
865 874
@@ -1210,8 +1219,21 @@
1210 1219 $active_experimental_features = Plugin::$instance->experiments->get_active_features();
1211 1220
1212 1221 $active_experimental_features = array_fill_keys( array_keys( $active_experimental_features ), true );
1213 1222
1223 + $assets_url = ELEMENTOR_ASSETS_URL;
1224 +
1225 + /**
1226 + * Frontend assets URL
1227 + *
1228 + * Filters Elementor frontend assets URL.
1229 + *
1230 + * @since 2.3.0
1231 + *
1232 + * @param string $assets_url The frontend assets URL. Default is ELEMENTOR_ASSETS_URL.
1233 + */
1234 + $assets_url = apply_filters( 'elementor/frontend/assets_url', $assets_url );
1235 +
1214 1236 $settings = [
1215 1237 'environmentMode' => [
1216 1238 'edit' => $is_preview_mode,
1217 1239 'wpPreview' => is_preview(),
@@ -1241,9 +1263,9 @@
1241 1263 'version' => ELEMENTOR_VERSION,
1242 1264 'is_static' => $this->is_static_render_mode(),
1243 1265 'experimentalFeatures' => $active_experimental_features,
1244 1266 'urls' => [
1245 - 'assets' => apply_filters( 'elementor/frontend/assets_url', ELEMENTOR_ASSETS_URL ),
1267 + 'assets' => $assets_url,
1246 1268 ],
1247 1269 ];
1248 1270
1249 1271 $settings['settings'] = SettingsManager::get_settings_frontend_config();
@@ -1358,9 +1380,24 @@
1358 1380 ),
1359 1381 $parts['more_text']
1360 1382 );
1361 1383
1362 - $more_link = apply_filters( 'the_content_more_link', sprintf( ' <a href="%s#more-%s" class="more-link elementor-more-link">%s</a>', get_permalink(), $post->ID, $more_link_text ), $more_link_text );
1384 + $more_link = sprintf( ' <a href="%s#more-%s" class="more-link elementor-more-link">%s</a>', get_permalink(), $post->ID, $more_link_text );
1385 +
1386 + /**
1387 + * The content "more" link.
1388 + *
1389 + * Filters the "more" link displayed after the content.
1390 + *
1391 + * This hook can be used either to change the link syntax or to change the
1392 + * text inside the link.
1393 + *
1394 + * @since 2.0.4
1395 + *
1396 + * @param string $more_link The more link.
1397 + * @param string $more_link_text The text inside the more link.
1398 + */
1399 + $more_link = apply_filters( 'the_content_more_link', $more_link, $more_link_text );
1363 1400
1364 1401 return force_balance_tags( $parts['main'] ) . $more_link;
1365 1402 }
1366 1403