Appetiser Common Assets
Shared resources and functions used by other Appetiser plugins for Dashboard UI.
by Landing page team · github.com/appetiser-marketing-production/appetiser-common-assets · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/appetiser-marketing-production/appetiser-common-assets/archive/refs/heads/master.zip🐚 Shell Script Usage for Comment Management
For faster operations on large comment sets, the following shell scripts are used instead of the PHP-based AJAX buttons:
📁 Location:
wp-content/plugins/appetiser-common-assets/shellscripts/
Scripts:
backup-comments.sh– Exportswp_commentsandwp_commentmetato a.sqlfile usingmysqldumpsudo -u www-data bash backup-comments.shdelete-comments.sh– Deletes all comments and related metadata directly viawp db querysudo -u www-data bash delete-comments.shrestore-comments.sh– Restores comments from the latest.sqlbackup file sudo -u www-data bash restore-comments.sh
📝 These scripts are preferred when dealing with a large number of comments due to significantly faster performance compared to PHP/AJAX operations.
⚠️ Note: This section is a working draft and not the final documentation.