Deprecated: Function wp_sanitize_script_attributes is deprecated since version 7.0.0! Use wp_get_script_tag() or wp_get_inline_script_tag() instead. in /home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/public_html/wp-includes/functions.php on line 6170

Deprecated: Function wp_sanitize_script_attributes is deprecated since version 7.0.0! Use wp_get_script_tag() or wp_get_inline_script_tag() instead. in /home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/public_html/wp-includes/functions.php on line 6170

Warning: file_exists(): open_basedir restriction in effect. File(/srv/htdocs/wp-content/mu-plugins/wp2-studio/src/components/README.md) is not within the allowed path(s): (/mnt/plugin-dev:/home/yaronewoni9762/.composer:/home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/public_html:/home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/private:/home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/public_shtml:/home/yaronewoni9762/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/yaronewoni9762/web/hardier-petrel-4cfad5.cloud.newsplicity.com/public_html/wp-content/mu-plugins/wp2-wiki/src/blocks/readme/init-helpers.php on line 43

🗂️ Overview

This directory houses fine-grained, reusable building blocks used across WP2 Modules, Themes, or Plugins. Components often represent specific UI elements, configuration objects, or low-level definitions, particularly related to the block editor, styling, and data structures.

These are typically smaller and more focused than Modules.

Component Categories:

  • Alerts
  • Assets
  • Block Elements
  • Block Extensions
  • Block Patterns
  • Block Types
  • Borders
  • Breakpoints
  • Colors
  • Custom Queries
  • Custom Templates
  • Editors
  • Favicons
  • Fields
  • Font Faces
  • Font Families
  • Font Sizes
  • Forms
  • Icons
  • Images
  • Libraries
  • Plugins (likely component-level plugin integrations or definitions)
  • Policies
  • Post Types (potentially base definitions or shared types)
  • Ratios
  • Shadows
  • Spacing Sizes
  • Taxonomies (potentially base definitions or shared taxonomies)
  • Template Part Areas
  • Template Parts
  • Template Types
  • Visibility Presets
  • Z Indexes

Purpose

Components provide the fundamental, reusable pieces used to construct more complex features within Modules and Themes. They promote consistency and DRY (Don’t Repeat Yourself) principles in development.

Preserving and protecting the freedom to use, study, copy, modify, and distribute WordPress.