How to insert data in custom table in WordPress

( string , array , array|string = null )

Inserts a row into the table.

Use ().

global ;
(‘your_custom_table_name’, array(
‘name’ => ‘test’,
’email’ => ‘test@gmail.com’,
‘phone’ => ‘12345678’, // … and so on
));

Leave a Comment

Your email address will not be published.