pdf page count
pdf page count
Allow SVG Files Upload
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…
google AdSense infeed
google AdSense infeed snippet
MemberPress: Disable MemberPress Password Lost/Changed Email
Adding this code snippet will disable the MemberPress Password Lost/Changed notification email.
MemberPress: Tax Only UK
This code snippet will apply taxes only for UK customers when Taxes are enabled in MemberPress…
MemberPress: Disable Comments for Courses, Lessons, Quizzes, and Assignments
The code snippet will disable comments on all MemberPress Courses custom post types: courses, lessons, quizzes,…
MemberPress: Shortcode To Display Content for Parent Accounts and Exclude Subaccounts
The code snippet registers a new shortcode: [mepr_exclude_sub_accounts]...[/mepr_exclude_sub_accounts]. The content added to this shortcode will be…
Format USD Currency
Displays $ as USD This will make $10 be displayed as 10 USD To set this…
Product tabs
ADDS A TAB IN PRODUCT PAGES
Increase After Order Actions Delay
By default, Easy Digital Downloads schedules a WP Cron event 30 seconds after a purchase is…
Explicit Fixed Width and Height
add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…
Gtag
Analytics
Gravity Forms: Add Custom CSS Buttons to GravityWP CSS Ready Classes Plugin
Add custom CSS: quick buttons and accordion at the top of the GravityWP - CSS Selector…
Lazy load YouTube videos in WordPress with Shortcode
Lazy load YouTube videos in WordPress with Shortcode