Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
48いいね 4043回再生

Working with Custom Database Tables in WordPress

Learn how to Create a Custom Database Table in WordPress. We will also see how you can Insert Data into these Tables via AJAX Forms and fetch the Data back to Output at the front end. Hopefully, this helps you improve/build your WordPress Plugin for the better.

Code shown/used in this video -
github.com/smalltowndev/tutorials/blob/main/wordpr…

Want to know my current PHP/WordPress Development Workflow? Here it is -    • BEST PHP and WordPress Development Workflo...  

WPDB Class Documentation from WordPress Developer Handbook -
developer.wordpress.org/reference/classes/wpdb/#se…

Creating or Updating tables in WordPress (A bit outdated doc) -
codex.wordpress.org/Creating_Tables_with_Plugins#C…

Learn how to create AJAX Forms -
   • WordPress AJAX Forms and jQuery Magic | Wo...  

PHP/WordPress Code formatting and linting -
   • Using PHP Code Sniffer with WordPress Codi...  

Learn Placeholder syntax from PHP vsprintf Documentation -
www.php.net/vsprintf

Character Sets and Collations in MySQL -
dev.mysql.com/doc/refman/8.0/en/charset-mysql.html

MySQL Syntax guides from W3Schools -
www.w3schools.com/mysql/mysql_sql.asp


=== Timestamps ===
00:00 - Intro
00:19 - Initial Setup
01:15 - Register Custom Table and SQL Schema
10:05 - Running the Plugin Activation to Register Table
12:55 - An Extra Tip
14:30 - Inserting Data into Custom Table from AJAX Forms
19:55 - Outputting the Data from the Custom Table
29:32 - Upgrading Table Schema with Plugin Updates
30:41 - Cleaning up the Database before Plugin Uninstall
34:47 - Final Remarks

=== Music Credits ===
Music track: Coffee Time by Pufino
Source: freetouse.com/music/
Copyright Free Music (Free Download)

Music track: Creamy by Aylex
Source: freetouse.com/music/
Vlog Music for Videos (Free Download)

=== Related Keywords ===

Build WordPress Plugins
Manage WordPress Database
WordPress Database Tables
Create Database Table in WordPress
Build WordPress Plugin
Create a WordPress Plugin
WordPress Theme Development
Create WordPress Themes
WordPress development
PHP Development

コメント