-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwiki.txt
More file actions
64 lines (55 loc) · 3.49 KB
/
wiki.txt
File metadata and controls
64 lines (55 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PLUGIN FRAME WIKI
Developer Installation:
1. Go to your WordPress plugin directory
cd /path/to/wordpress/wp-content/plugins/
2. Clone the repository:
git clone https://github.com/RactStudio/plugin-frame.git
3. Install Composer dependencies:
composer install
4. Install Node.js dependencies:
npm install
5. Build the plugin:
npm run build
6. Activate the plugin in your WordPress dashboard.
7. START YOUR PLUGIN DEVELOPMENT
plugin-frame/
├── admin/ # Contains admin-specific functionality
│ ├── includes/ # Reusable functions (e.g., form handling, validation)
│ ├── resources/ # Admin-specific assets and views
│ │ ├── assets/ # Static assets for admin (CSS, JS)
│ │ ├── views/ # Admin-specific PHP templates
│ ├── SettingsPage.php # Admin settings page handler
│ ├── AdminNotices.php # Admin notices handler
│ ├── Dashboard.php # Dashboard-related functionalities
├── app/ # Core plugin application files
│ ├── Helpers/ # Helpers for handling logic (admin, frontend)
│ ├── Models/ # Data handling (e.g., WP_Query, custom tables)
│ ├── Services/ # Reusable services (API, caching, helpers)
│ ├── Config/ # Registers actions, filters, etc.
│ │ ├── ClassesLoader.php # Load Each class based on needs
│ │ ├── Config.php # Registers WP actions
│ │ ├── Main.php # Main config file that dynamically loads all files
│ ├── Providers/ # Registers actions, filters, etc.
│ │ ├── Actions.php # Registers WP actions
│ │ ├── Filters.php # Registers WP filters
│ │ ├── Widgets.php # Registers WP widgets
│ │ ├── Menus.php # Registers admin menu pages
│ │ ├── ShortCodes.php # Registers WP ShortCodes
│ │ ├── PostTypes.php # Registers custom post types
│ │ ├── Taxonomies.php # Registers custom taxonomies
│ │ ├── Activation.php # Activation hook handler
│ │ ├── Deactivation.php # Deactivation hook handler
│ │ ├── EnqueueAssets.php # Enqueues frontend/admin scripts and styles
│ ├── Api/ # Custom REST API endpoints
├── resources/ # Global assets and frontend views
│ ├── assets/ # Frontend-specific static assets (CSS, JS)
│ ├── views/ # Frontend PHP templates
├── languages/ # Language files for i18n (automatically detected by WP)
├── cli/ # WP-CLI commands (optional)
├── tests/ # PHPUnit tests
├── vendor/ # Composer dependencies (auto-created by Composer)
├── composer.json # Composer dependencies configuration
├── package.json # NPM dependencies for managing assets
├── plugin-frame.php # Main plugin file that initializes everything
├── readme.txt # WordPress.org plugin repository information
└── README.md # GitHub repository information