| @@ -119,9 +119,9 @@ | ||
| 119 | 119 | if ( ! dropdown ) { |
| 120 | 120 | return; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | - var url = '<?php echo esc_url( Utils::get_create_new_post_url( $typenow ) ); ?>'; | |
| 123 | + var url = '<?php echo esc_url( Plugin::$instance->documents->get_create_new_post_url( $typenow ) ); ?>'; | |
| 124 | 124 | |
| 125 | 125 | dropdown.insertAdjacentHTML( 'afterbegin', '<a href="' + url + '">Elementor</a>' ); |
| 126 | 126 | } ); |
| 127 | 127 | </script> |