Custom Countries

Illustrates how to add a custom list of countries

<10

Allow SVG Files Upload (copy)

Add support for SVG files to be uploaded in WordPress media.

Sample Email Template Tag

This is an example of how to register a new email template tag for EDD as…

Redirecting Vendors to Vendor Dashboard on Login

Snippet To Redirect Vendors to their Dashboard on login

Add menu item to vendor dashboard

// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…

Fix 500 Internal Server Error

A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…

Add file to media library programmatically

wp_insert_attachment( string|array $args, string|false $file = false, int $parent_post_id, bool $wp_error = false, bool $fire_after_hooks =…

Untitled Snippet

https://github.com/dontcrash/NRD.git

1 115 116 117 118 119 149