increase upload memory
upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 />
Admin Bar - Updates
Show updates in Admin Bar
Add WPCode Custom Field Smart Tag
Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Display Post and Page IDs in WordPress Columns
This PHP code enables you to display the IDs of posts and pages within WordPress columns.…
Show local fonts in block editor
Display custom fonts in the backend editor
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Hide Admins from being tracked
Adds a function that will allow you to properly add all your tracking scripts and stop…
Export Categories and Tags
Export Categories and Tags
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
google tag
google code