WPCode Snippet: Download All Snippets Button
* Description: Adds bulk download button to WPCode Snippets Sync admin page * Location: Admin Only…
Force localized currency for product feeds
This allows you to change the ISO 4217 for all the product feeds
Add Your Own Custom Fields to Events
Sugar Calendar has no custom fields UI, so there is no built-in way to store something…
Remove Dashboard Widget
Remove default dashboard widget for everyone.
Sort Events Category by Publish Date (Oldest First)
function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…
Untitled Snippet
add_filter( 'aioseo_robots_meta', 'aioseo_filter_robots_meta' ); function aioseo_filter_robots_meta( $attributes ) { $url = home_url( $_SERVER['REQUEST_URI'] ); if (strpos($url,'product_search=')…
Pre-approval Emails
Email the admin and customer when a pre-approval payment has been made.
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
Untitled Snippet
HTML5
Extra WordPress Filters in Pro (Tag Data for a Custom Layout) | Display Eventbrite Events
By default, all the tag data is not retrieved as this requires extra API calls. If…
Add duplicate link to admin bar menu
Extend the WPCode duplicate snippet (https://library.wpcode.com/snippet/7oqnzxow/) with an admin bar menu item. The duplicate snippet needs…
code at the end of the body tag
Hello, I need to include the following code at the end of the body tag of…