Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 748 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 748 Bytes

Wapuus API - WordPress Plugin

For local development, install the Local WP and create a local WordPress website with the following domain:

wapuus-api.local

After that insert the plugin folder on the /wp-content/plugins/ dir and active it on the WordPress admin dashboard.

In the wp-config.php file you can set the following options:

/**
 * BLock API access from non authorized domains.
 * Acceptable values: true or your local development address as 'http://localhost:3000'
 */
define( 'WAPUUS_API_RESTRICTED_MODE', 'http://localhost:3000' );

/**
 * Prevents the demo user from adding new content or deleting old ones.
 */
define( 'WAPUUS_API_DEMO_USER_RESTRICTED', false );