Api Freeze
This page mirrors the corresponding document shipped with Pressundo Framework 1.0.0.
This document records the frozen Pressundo Framework Free Public API v1 surface for the 1.0.x stable release line.
Release contract
PRESSUNDO_FRAMEWORK_VERSION:1.0.0pu_api_version():1- The
pu_*helper signatures listed below are frozen for 1.0 stable. - Additive helpers may be introduced in future 1.x releases without breaking existing signatures.
- Breaking public API changes require a future API version increment.
Public pu_* helper signatures
pu_get(string $key, mixed $default = null, array $args = []): mixedpu_set(string $key, mixed $value, array $args = []): boolpu_delete(string $key, array $args = []): boolpu_exists(string $key, array $args = []): boolpu_options(string $name, array $config = []): ValueNamespacepu_meta(int $postId, string $name, array $config = []): ValueNamespacepu_api_version(): stringpu_field(string $type, string $id, array $args = []): arraypu_text(string $id, array $args = []): arraypu_textarea(string $id, array $args = []): arraypu_select(string $id, array|callable $options = [], array $args = []): arraypu_checkbox(string $id, array $args = []): arraypu_toggle(string $id, array $args = []): arraypu_group(string $id, array $fields, array $args = []): arraypu_repeater(string $id, array $fields, array $args = []): arraypu_section(string $id, array $fields, array $args = []): arraypu_register_field_type(\Pressundo\Framework\Contracts\FieldTypeInterface $field): voidpu_has_field_type(string $type): boolpu_field_types(): arraypu_sanitize_field(array $field, mixed $value): mixedpu_validate_field(array $field, mixed $value): \Pressundo\Framework\Api\ValidationResultpu_number(string $id, array $args = []): arraypu_email(string $id, array $args = []): arraypu_url(string $id, array $args = []): arraypu_radio(string $id, array|callable $options = [], array $args = []): arraypu_multiselect(string $id, array|callable $options = [], array $args = []): arraypu_checkbox_group(string $id, array|callable $options = [], array $args = []): arraypu_color(string $id, array $args = []): arraypu_date(string $id, array $args = []): arraypu_time(string $id, array $args = []): arraypu_range(string $id, array $args = []): arraypu_media(string $id, array $args = []): arraypu_gallery(string $id, array $args = []): arraypu_editor(string $id, array $args = []): arraypu_code(string $id, array $args = []): arraypu_icon(string $id, array $args = []): arraypu_sortable(string $id, array|callable $options = [], array $args = []): arraypu_resolve_options(array $field): arraypu_field_visible(array $field, array $values): boolpu_options_page(array $config): \Pressundo\Framework\Admin\OptionsPagepu_metabox(array $config): \Pressundo\Framework\Admin\Metaboxpu_font_family(string $id, array $args = []): arraypu_font_weight(string $id, array $args = []): arraypu_unit(string $id, array $args = []): arraypu_typography(string $id, array $args = []): arraypu_spacing(string $id, array $args = []): arraypu_dimensions(string $id, array $args = []): arraypu_background(string $id, array $args = []): arraypu_gradient(string $id, array $args = []): arraypu_border(string $id, array $args = []): arraypu_border_radius(string $id, array $args = []): arraypu_box_shadow(string $id, array $args = []): arraypu_responsive(string $id, array $args = []): arraypu_button_group(string $id, array $options = [], array $args = []): arraypu_datetime(string $id, array $args = []): arraypu_post_select(string $id, array $args = []): arraypu_term_select(string $id, array $args = []): arraypu_user_select(string $id, array $args = []): arraypu_menu_select(string $id, array $args = []): arraypu_sidebar_select(string $id, array $args = []): arraypu_template_select(string $id, array $args = []): arraypu_key_value(string $id, array $args = []): arraypu_hidden(string $id, array $args = []): arraypu_password(string $id, array $args = []): arraypu_json(string $id, array $args = []): arraypu_css(string $id, array $args = []): arraypu_javascript(string $id, array $args = []): arraypu_heading(string $id, string $text, array $args = []): arraypu_divider(string $id, array $args = []): array
Compatibility surface frozen for 1.0
VP_OptionVP_MetaboxVP_SecurityVP_Option_Control_SetVP_Site_GoogleWebFont- safe
VP_ShortcodeGeneratorfacade vp_option()vp_metabox()- supported Vafpress datasource helpers
- 20/20 standard Vafpress field types in the compatibility matrix
Unsafe legacy arbitrary PHP callback execution and unsafe template include fallback are not part of the default compatibility contract. They remain disabled unless explicitly opted in by the site owner.
UI and storage contracts
- Options pages and modern metaboxes use the same schema renderer.
air,slate, andcompactremain supported UI themes.- Progressive migration strategies remain
preserve,lazy, andcopy. - Application options and post meta are not deleted on uninstall.
Stable policy
The 1.0.0 stable runtime and Public API v1 were promoted from the validated 1.0.0-rc.1 release candidate without feature changes. Future 1.x releases may add compatible helpers and fixes, but breaking public API changes require a future API version increment.