Getting all woocommerce products from REST API call in plugin

I was close to the answer here, but held back by being unfamiliar with how global WordPress can be, and how that can be used to extend plugins. All I needed to do was wrap the plugin logic in a check for the presence of Woocommerce: if ( in_array( ‘woocommerce/woocommerce.php’, apply_filters( ‘active_plugins’, get_option( ‘active_plugins’ ) … Read more

Plugin updates, change file permissions on WordPress

PROBLEM FOUND: So the problem was in a separate config file. The websites were migrated from another hosting and that hosting had a separate config file which was required in the wp-config.php . I the other config file I found this settings: define( ‘FS_CHMOD_DIR’, ( 0755 & ~ umask() ) ); define( ‘FS_CHMOD_FILE’, ( 0644 … Read more

deactivate WPBakery Page Builder license [closed]

Not really. The change of license should not have a direct impact on the created content. The created blocks/content will still be stored on the database and will be accessible after enabling the new license. However, you should ALWAYS do a previous backup, just in case. It’s better to be safe than sorry 😉