Skip to content

Commit d380193

Browse files
Hooks: Shape Dividers (#318)
1 parent cbc047f commit d380193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/shapes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function custom_elementor_shape_dividers() {
5454
'path' => PLUGIN_ASSETS_PATH . 'assets/shapes/shape-1.svg',
5555
'height_only' => true,
5656
],
57-
'shape-divider-1' => [
57+
'shape-divider-2' => [
5858
'title' => esc_html__( 'Shape divider 2', 'textdomain' ),
5959
'url' => PLUGIN_ASSETS_URL . 'assets/shapes/shape-2.svg',
6060
'path' => PLUGIN_ASSETS_PATH . 'assets/shapes/shape-2.svg',
@@ -69,4 +69,4 @@ add_filter( 'elementor/shapes/additional_shapes', 'custom_elementor_shape_divide
6969

7070
To avoid conflicts with other plugins, shape IDs should be prefixed.
7171

72-
The `PLUGIN_ASSETS_URL` should be updated using functions like `plugin_dir_path( __FILE__ )` or `get_stylesheet_directory_uri()`. and `PLUGIN_ASSETS_PATH` should be updated using functions like `plugin_dir_path( __FILE__ )` or `get_stylesheet_directory()`.
72+
The `PLUGIN_ASSETS_URL` should be updated using functions like `plugin_dir_path( __FILE__ )` or `get_stylesheet_directory_uri()`. The `PLUGIN_ASSETS_PATH` should be updated using functions like `plugin_dir_path( __FILE__ )` or `get_stylesheet_directory()`.

0 commit comments

Comments
 (0)