This article is for DEVELOPERS

Managing your eBook feed on WordPress can enhance your content delivery and user experience. This guide will help you optimize settings and manage your Snapplify feed effectively. 

  1. Disable Auto-Publish
    To prevent eBooks from being automatically published, ensure the "Enable Auto-Publish" setting is turned off. This allows for controlled publishing as per your requirements.
  2. Manage Product Images
    Enable the "Auto-Download from Cloud Server" setting to download Snapplify product images to your server. This helps in faster image rendering throughout your web application. By default, this setting is disabled.
  3. Customize Metadata Display
    Each client has unique requirements for rendering metadata. Developers should create a custom field, such as 'ebook' or 'digital product,' to categorize and display products appropriately. Note that Snapplify cannot modify title metadata set by publishers.
  4. Backup Before Making Changes
    Always back up your database before performing any queries to ensure you can restore data if necessary.


Manage Pending Actions

If you encounter a large queue of pending actions and you need to clear this for any reason, follow these steps to clear it:


Using wp-cli:

Check the number of pending actions:

wp db query "SELECT COUNT(*) FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending'"


Delete pending actions:

wp db query "DELETE FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending'"


Verify the actions are deleted:

wp db query "SELECT COUNT(*) FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending'"


Using SQL Plugin:

Install and activate the Run SQL Query plugin.


Run the following queries:

SELECT COUNT(*) FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending';
DELETE FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending';
SELECT COUNT(*) FROM wp_actionscheduler_actions WHERE hook = 'wc_snap_process_product_exec' AND status = 'pending';


By following these steps, you can manage your Snapplify feed on WordPress more efficiently, ensuring smooth content delivery and enhanced user experience. For further assistance, contact our support team.


Need help? Email us on help@snapplify.com.