2023-W28

Jul 10–16, 2023

3 releases

The week saw significant updates across the Airfleet ecosystem with a focus on enhancing plugin functionality. In particular, the airfleet-views-plugin gained support for prefixed views, while several new components, templates, and view helpers were added or registered. The airfleet-wordpress-framework-php received new helpers for attribute rendering and local JSON syncing. Meanwhile, the airfleet-wordpress-dev-php-tools plugin was updated to bump a dependency to version 1.0.7.

airfleet-views-plugin

Release 0.3.0

Views can now have a prefix and various components and templates were added or registered.

GitHub
View full changelog

Added

  • Added components registration
  • Added custom page templates registration
  • Added WordPress hierarchy templates registration
  • Added view helper $_in_block_editor: check if inside the block editor
  • Added view helper $_reusable_block: render a reusable block
  • Added view helper $_asset_url: get the compiled URL to an asset
  • Added view helper $_attrs: render attributes for HTML element
  • Added view helper $_data_attrs: render data attributes for HTML element

Changed

  • Views can now have a prefix. Prefix can be passed in filter "airfleet/views/config"
airfleet-wordpress-framework-php

Release 0.5.0

Added new helpers and features to the framework, including attribute rendering and local JSON syncing.

GitHub
View full changelog

Added

  • Added Helpers\Display::attributes and Helpers\Display::data_attributes - render attributes for HTML elements
  • Added Acf\LocalJsonByLocationParam - sync local JSON for groups that match a specific location rule
  • Added Acf\LocalJsonCustomTemplate - sync local JSON for a specific custom page template