PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 2.2.3
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v2.2.3
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/API/Import.php +1 -2 3.0.72.2.3 View file →
@@ -20,9 +20,8 @@
20 20 public function insert_template() {
21 21 $platform = $this->get_param( 'platform', 'elementor' );
22 22 $origin = $this->get_param( 'origin', 'remote' );
23 23 $id = $this->get_param( 'id', 0, 'intval' );
24 - $postId = $this->get_param( 'postId', 0, 'intval' );
25 24
26 25 if( $id <= 0 || $id == null ) {
27 26 return $this->error('invalid_item_id', __( 'Invalid ID is provided.', 'templately' ), 'get_content', 404 );
28 27 }
@@ -57,9 +56,9 @@
57 56 'insert', 404
58 57 );
59 58 }
60 59
61 - return $this->platform( $platform )->insert( $template_data, $postId );
60 + return $this->platform( $platform )->insert( $template_data );
62 61 }
63 62
64 63 private function get_cloud_content( $id = null, $platform = 'elementor' ){
65 64 $response = $this->http()->query(