Skip to content

Commit

Permalink
Merge pull request #4 from newfold-labs/develop
Browse files Browse the repository at this point in the history
add events and fix feedback api url
  • Loading branch information
wpscholar authored Jun 1, 2023
2 parents f23e1e0 + e9f977f commit c73ac68
Show file tree
Hide file tree
Showing 12 changed files with 14,466 additions and 21,508 deletions.
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '1876b438a02bb7ce3409');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '21548868e6ca22bc2d01');
260 changes: 259 additions & 1 deletion build/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13,891 changes: 13,890 additions & 1 deletion build/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/index.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions includes/HelpCenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ public function register_assets() {
NFD_HELPCENTER_PLUGIN_URL . 'vendor/newfold-labs/wp-module-help-center/build/index.css',
null, '1', 'screen'
);

\wp_add_inline_script(
'nfd-helpcenter-dependency',
'var nfdHelpCenter =' . wp_json_encode( array( 'restUrl' => \get_home_url() . '/index.php?rest_route=', ) ) . ';',
'before'
);
}
}
}
Loading

0 comments on commit c73ac68

Please sign in to comment.