Source: claude-code-internals plugin v2.5.0 reference files (binary-verified through v2.1.104).
| Variable | Default | Description |
|---|---|---|
ANTHROPIC_API_KEY |
— | Anthropic API auth token |
| wp wpvulnerability core | |
| wp wpvulnerability plugins | |
| wp wpvulnerability themes |
| https://codewp.ai/ | |
| https://codewp.tawk.help/ | |
| https://codewp.ai/best-practices-for-prompting-codewp/ | |
| https://codewp.ai/snippets/ | |
| https://codewp.ai/snippets/?_generation_mode=701 | |
| https://codewp.ai/snippets/?_generation_mode=709 |
| https://wpactivitylog.com/support/kb/plugin-database-documentation/ | |
| https://wpactivitylog.com/support/kb/wordpress-activity-log-deleted-plugin-uninstall-option/ | |
| https://wpactivitylog.com/support/kb/activity-log-retention-policies/ | |
| https://wpactivitylog.com/support/kb/wordpress-activity-log-slow-down-website/ |
| <?php | |
| // Example long query (2.557 seconds): | |
| // @see https://radleysustaire.com/s3/1c66a3/ | |
| // Example optimized query (0.316 seconds): | |
| // @see https://radleysustaire.com/s3/fb794e/ | |
| // Example of what your code would look like: | |
| $args = array( | |
| 'taxonomy' => array( 'account-menu' ), |
| <?php | |
| /** | |
| * Set custom user variable for WooCommerce Wave Connector | |
| * Replace display name with first name & last name in name value | |
| * | |
| * @param array $variables get variables. | |
| * @param array $user_ids get user's id. | |
| * @return array | |
| */ | |
| function custom_customer_variable( $variables, $user_ids ) { |
| property AIRDROP_FOLDER : "Path:to:AirDrop:Folder:in:Alias:format" | |
| property QUARANTINE_KEY : "59" | |
| property GET_QUARANTINE_COMMAND_START : "ls -l -@ '" | |
| property GET_QUARANTINE_COMMAND_END : "' | tr '\\n' ' ' | sed 's/.*com\\.apple\\.quarantine\\s*\\(\\d*\\)/ \\1/' | awk '{$1=$1};1'" | |
| on adding folder items to this_folder after receiving added_items | |
| repeat with i from 1 to length of added_items | |
| set current_item to item i of added_items | |
| set quarantine_type to getQuarantineType(POSIX path of current_item) |
| async function addToCache(urls) { | |
| const pageCache = await window.caches.open('page-cache'); | |
| await pageCache.addAll(urls); | |
| } | |
| // Check that service workers are registered | |
| if ('serviceWorker' in navigator) { | |
| // Use the window load event to keep the page load performant | |
| window.addEventListener('load', () => { | |
| addToCache(['/hello-world/', '/main-page/']); |
| <?php | |
| // Upload to Custom folder in media_handle_upload | |
| https://wordpress.stackexchange.com/questions/290257/media-handle-upload-with-custom-upload-folder | |
| //Download image and to attachment | |
| https://codex.wordpress.org/Function_Reference/media_handle_sideload | |
| //change SrcSet | |
| https://gschoppe.com/wordpress/fix-broken-images-after-wordpress-4-4-update/ |
| <?php | |
| /** | |
| * Integrate custom post types into Flatsome 3 page builder application using a child theme. | |
| * | |
| * This will provide: | |
| * | |
| * 1. Page Builder Editor support for custom post types | |
| * 2. Integration with page builder post element components | |
| **/ |