Yes, it is common sense and you are missing something đ
Plugins are just away to add code to wordpress, by default they are not inferior or restricted in any way more then then core code. Just another file(s) that wordpress includes on startup.
It is your job as a plugin developer to restrict the execution of your code to specific area/context, and you do it by hooking your code on the relevant actions and filters.
Related Posts:
- Can I leave off plugin textdomain for terms used in core?
- How do you allow plugins to be updated using the GUI without breaking your subversion repository?
- Correct way to serialize the data of options table?
- Custom admin column disappearing when using Quick Edit [duplicate]
- Make plugin uninstalable on older versions of WordPress
- Qtranslate displays empty categories with get_categories()
- How can I translate the name of my Plugin for other languages?
- Remote plugin activation hook
- How to make a plugin auto-add item to nav menu
- How can I filter blog name?
- Logs to check when the plugin was first installed for the first time
- WordPress Custom Application form
- Facebook Like Button On Individual Comments
- Plugin could not be activated because it triggered a fatal error. (No Error??)
- Adding a jquery script to plugin contact form 7
- Keep userâs privileges on accessing contents in JSON response
- Displaying admin notice dynamically
- Best Practice: Remove data on deactivation or uninstall?
- WooCommerce & Caching [closed]
- Show Heirachy of categories in WP Download Monitor
- How to replace or display the special characters from JSON API plugin [closed]
- printf – problem to understand code
- add_query_arg not working
- Limit Number of Taxonomy Terms (Images) Displayed
- Widget for adding HTML markup to a page
- WordPress filter that hook after each action/filter hook
- When to use action hooks and plugins
- How to enable qTranslate languages tabs in custom plugin page
- Making a Template for a CPT created by a plugin
- Woocommerce dependent plugin
- Get sent emails without email logs
- External CSS in WordPress Plugin [closed]
- PHP basics help in WP context – remove a class/function?
- User Session and Stored Cookies not get removed
- Plugin dependencies: show notice like theme plugins dependencies
- get 404 when accessing wp-admin/plugin-install.php
- What will happen if i deactivate my visual composer plug in? [closed]
- Custom Pages for Woocommerce Product-Category Pages
- Woocommerce Minimum Price for a Composite Product to add in cart
- What is most efficient way to migrate wordpress website?
- Bulk updates to post_content
- Migrating problem from Joomla to WP
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Inject HTML meta tag inside wordpress tag using add_shortcode
- Translation plugin to translate another plugins
- How can I list all installed plugins/themes/versions from CLI/API?
- Does deleting a Plugin via the WordPress admin ‘completely’ remove the code?
- How to deploy gutenberg on my own [closed]
- Shortcode to update user meta
- How to protect WordPress from security scanner [closed]
- How to get plugin’s folders permission
- Any idea how to get something like this to work? [closed]
- Skewed / slanted button within elementor [closed]
- How to find out whether a plugin is used in pages or posts?
- Symlink a plugin in local development, works but got Debug error message – Windows 10
- Generate Email Newsletter HTML from Posts published within a Date Range?
- I want to use wordpress themes and plugin to develop website
- Custom Post Type template for homepage
- Strange Behavior on New Theme Points to Idiocy
- How to approach displaying products with no shopping cart plugin or post type?
- How can i export and import my plugin option WordPress
- Linking form to user meta fields
- how long do restored versions take to go live?
- Help to Create a Simple Plugin to make a post
- how to find out which plugin disable custom field for post
- WordPress Theme footer remove after use Autoptimizer plugins
- How to add status information to a list of words in wordpress
- WordPress fresh installation did not update default plugin and themes to latest version
- how to change a static testimonials into dynamic
- Looping the data from WordPress database using foreach
- How can I capture error in admin files?
- add tags to wordpress post using REST API
- How to display latest viewed post by logged user?
- how to do Thematic like this website using wordpress?
- How to make a page both âprivateâ and âpassword protectedâ
- Can’t Add Recaptcha
- Custom content per post in widget
- Continous audio play in pages
- How to restrict “too soon” downloads with a general rule?
- Redux framework somehow added to my site, can’t locate in plugins
- what is the best way to create a premium plugin while also protecting your code
- Get url of selected gallery images?
- Custom post type request switches to media request
- How to use categories in the URL with Advanced Custom Fields?
- Plugin Breaking WordPress Login
- Multiple thumbnails and one gallery
- Custom Post type plugin breaking the front page shows dashboard?
- Checking url from plugin [duplicate]
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- i am create wordpress plugin that show error?
- How to do Conact form 7 name field validation? [closed]
- ‘Save settings’ (submit button) ISSET
- which plugin is this? [closed]
- Adding a script & php to functions.php
- Divi Template A Few Questions
- Trying to use wp_register_script/style and enqueu them from an array – getting an error [duplicate]
- Email Masking in widget
- FATAL ERROR: WP complains about redeclaration [closed]
- WordPress Plugin and other pages not opening
- How can I hide Dashboard notifications for just one particular plugin?