admin_url( 'admin-ajax.php' ) ) ); } //add_action( 'wp_enqueue_scripts', 'register_d5aw_scripts' ); /** * Updater Functions * * Uses: https://github.com/YahnisElsts/plugin-update-checker * * Requires PuC folder and vendor folder as well as * plugin-update-checker.php file * */ $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker( 'https://github.com/D5code/d5-admin-tools/', __FILE__, 'd5-admin-tools' ); //Optional: If you're using a private repository, specify the access token like this: //$myUpdateChecker->setAuthentication('your-token-here'); //Optional: Set the branch that contains the stable release. $myUpdateChecker->setBranch( 'master' );