2023-W15

Apr 10–16, 2023

4 releases
  • Plugin Generator Enhancements: The plugin generator now includes dependencies scoper, Airfleet Framework package, watch script, PHP constants, plugin activation/deactivation hooks, AJAX variables setup option, .github workflows, and ACF Local JSON option.
  • ACF Options Pages: Feature classes and functionality for ACF options pages were added to the WordPress framework, including ACF options feature classes (Acf/OptionsPage, Acf/OptionsSubPage, Acf/AirfleetOptionsSubPage) and plugin-specific configuration.
  • Login Styles/Scripts Support: Login styles/scripts support was added to Assets/Enqueue.
airfleet-generator-cli

Release 0.16.0

Added dependencies scoper, Airfleet Framework package, watch script, PHP constants, plugin activation/deactivation hooks, AJAX variables setup option, .github workflows, and ACF Local JSON option to the plugin generator.

GitHub
View full changelog

Added

  • Plugin generator: added dependencies scoper
  • Plugin generator: added Airfleet Framework package
  • Plugin generator: added watch script to package.json
  • Plugin generator: added PHP constants _SLUG, _TITLE, _TITLE_SHORT, _FILE, _DIR, _IMAGES_OPTIONS_URL
  • Plugin generator: added plugin activation, deactivation, and uninstall hooks
  • Plugin generator: added option to create AJAX variables setup
  • Plugin generator: added .github workflows
  • Plugin generator: added option for ACF Local JSON

Changed

  • Plugin generator: upgraded airfleet/wordpress-dev Composer package to latest
  • Plugin generator: changed options setting to support both Airfleet Framework and ACF

Fixed

  • Plugin generator: fixed README badges for GitHub
airfleet-wordpress-framework-php

Release 0.3.0

Added feature classes and functionality for ACF options pages.

GitHub
View full changelog

Added

  • Added ACF options feature classes (Acf\OptionsPage, Acf\OptionsSubPage, Acf\AirfleetOptionsSubPage)
  • Added Plugin\AcfAirfleetOptionsSubPage - add ACF options sub-page under Airfleet menu based on plugin config
  • Added Plugin\AcfSettingsLink - add settings link on Plugins admin table for ACF options sub-page based on plugin config
airfleet-wordpress-framework-php

Release 0.2.0

Added various utilities for enqueueing assets, adding links to the Plugins table page, and detecting theme and user information.

GitHub
View full changelog

Added

  • Added enqueue utilities (Assets\Enqueue)
  • Added inline script and variables utilities (Assets\InlineScript, Assets\ScriptVariables, Assets\FrontendVariables, Assets\EditorVariables, Assets\AdminVariables, Assets\CriticalVariables)
  • Added utility to add plugin action links on the Plugins table page (Plugin\ActionLinks)
  • Added utility to add plugin settings link on the Plugins table page (Plugin\SettingsLink)
  • Added Airfleet helper (Helpers\Airfleet) - detect Airfleet Starter Theme, Airfleet users, and post types/taxonomies
  • Added Screen helper (Helpers\Screen) - detect current screen and post type
  • Added Assets helper (Helpers\Assets) - get asset URL and get manifest
  • Added Display helper (Helpers\Display) - pretty print, dump, and render reusable blocks
  • Added plugin feature utilities (Features\PluginFeature, Features\BasePluginFeature and Features\PluginFeatures) - extra plugin specific hooks compared to Feature (activation, deactivation, uninstall)
  • Added Hooks helper (Helper\Hooks) - remove class filter/action
  • Added Acf\LocalJson utility