Skip to content

Milan Dinić

  • About
  • WordPress
    • Plugins
    • Blog Posts
    • Custom Development
  • WordPress Plugins
    • Admin Bar Plugin Switcher
    • bbPress Digest
    • Better Serbian Search
    • Cache Images
    • Capital S, Dangit!
    • Change Core Slugs
    • Clean Expired Transients
    • commonWP
    • Conditional Simple Colorbox
    • Descriptions as Captions in Galleries
    • Disable Automatic Background Updates
    • Disable Block Editor
    • Disable Custom CSS
    • Disable Google Fonts
    • Disable WordPress Events and News Dashboard Widget
    • Enable Disabled Serbian Latin Google Fonts
    • Gravatar Signup Encouragement
    • Nav Menu Images
    • Nth Order Discount for WooCommerce
    • Post to Queue
    • Purge Cache for CloudFlare
    • Rename Media Files
    • Run External Crons
    • Simple Email Queue
  • Contact
    • Donate
  • Codeable Twitter GitHub WordPress.org npm Gravatar На српском

Tag: TGM Plugin Activation

Use TGM Plugin Activation Conditionally

If you follow official guide, you will always include TGM Plugin Activation file. Most of the times you won’t need this additional 94 KB. In this case, you can use conditional loading very simply. First, make function for registration as suggested and hook it to specific TGM Plugin Activation action. Then, create a new function… Read more Use TGM Plugin Activation Conditionally

Posted on 20 May 2015 by Milan Dinić