-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
* [N/A] ACF Update + Safe SVG replaces SVG Support * [N/A] Update Composer Script
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace ACF\Upgrades; | ||
|
||
/** | ||
* Initialize the checking for plugin updates for ACF non-PRO. | ||
*/ | ||
function check_for_acf_upgrades() { | ||
$properties = array( | ||
// This must match the key in "https://wpe-plugin-updates.wpengine.com/plugins.json". | ||
'plugin_slug' => 'advanced-custom-fields', | ||
'plugin_basename' => ACF_BASENAME, | ||
); | ||
|
||
new \ACF\Upgrades\PluginUpdater( $properties ); | ||
} | ||
add_action( 'admin_init', __NAMESPACE__ . '\check_for_acf_upgrades' ); |