All features

Cherry Blossom feature

Frontend: Company

Frontend company-information integration.

Frontend company-information integration.

Capabilities and extension points

Handles company shortcodes and social-link rendering.

Initializes the module.

Registers frontend hooks.

Registers company information shortcodes.

Renders a company information row by its configured shortcode ID.

  • param array $attributes Shortcode attributes.
  • return string Escaped contact output.

Formats one matched company row.

  • param string $layout ACF layout.
  • param array $row Company row.
  • param array $attributes Shortcode attributes.
  • return string Escaped output.

Formats an ACF link value for a company website.

  • param array|string $value ACF link value.
  • return string Escaped website link, or an empty string.

Formats an address using the requested Dutch components.

  • param array $row Company row.
  • param string $show Requested components.
  • return string Escaped address.

Gets configured social links.

  • return array Social labels keyed to validated URLs.

Source reference

This editable reference page is based on the PHP documentation in frontend/class-company.php.