Your thought is correct.
By editing the plugin file you lose updatability. So unregistering and reregistering it in the functions.php would be the correct way to do it.
Related Posts:
- How to maintain W3C standards compliance of a theme
- Load plugin on specific page only
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Convert WordPress pages to PDF
- Plugin or mod for wordpress to make content publication SUPER easy
- enqueue script only if it is not already enqueue
- Display (and manage) webcam images?
- Overwrite textdomain of plugins by default – Lost Translation
- jQuery plugin only in one page/post
- Google Analytics post views in WordPress? [closed]
- scheduled event not getting executed
- How can I limit functionality in one version of a plugin?
- Any way to use a custom Parameter for youtube embed without using an iframe?
- Custom database table for plugin not creating on activation
- Hook (upgrader_process_complete) running moment
- WordPress 3.1 and Disqus throws Warning: number_format() error in Posts List
- How do I add a template to a theme using a plugin?
- Is there a quick way to inject i18n domain into theme/plugin files?
- Can’t see login page after migration
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- Debugging Technique Question re: functions.php
- Custom Taxonomy Tag Search
- Retrieving plugin options value saved through setting
- An issue with SEO Ultimate
- How do I modify the position of a plugin?
- Hiding posts – WP Hide Post not working
- Add a custom form on the post-new.php admin page
- how to give a user a role?
- WSOD after upgrading to 3.1
- looking for navigation plugin (accordion) [closed]
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- Trouble with editing template for “List category posts” plugin
- Upgraded to latest version – 3.0.3 and Now I get a “sufficient permissions to access this page” error
- How to use JSON data from URL into table on my wordpress website
- How to show WP addon installation path during installation?
- Replace default og:image tag YOAST
- Automatic plugin updates not working
- Fromcraft Plugin On click submit button [closed]
- A include_template Question
- WordPress error: Options page Setting_ not found in the allowed options list
- Shortcode not working after move wordpress website files
- Contact Form 7 – Form name blank [closed]
- plugin dev – minimum base css specificity?
- Help with comments.php
- OceanWP settings are missing from Add New Post [closed]
- How to get a list of all the available plugins names
- How to place a function from another class in add_action 2nde argument?
- Loop returns the current page’s permalink and guid instead of the post in the loop
- display connected User to post
- Plugin content is shown on every page
- Creating an admin meta box to save post as pending
- Plugin upgrade failing during unzip
- Passing value as hidden parameter to next page
- Auto populate a user custom field from another user custom field
- How to Get Category Name When Export Products
- How i can remove Working Functionality of my header & footer plugin from backend files but in front end plugin need to show that plugin activate
- WoCommerce Cart is not showing pricing
- Plugin or ways to limit number of users logging in the website,
- Create a form to get user information for payment gateway
- Custom plugin activation error
- WP Ajax DB issues
- Precheck fields when I add a new post
- How to capture hidden values with Gravity Forms
- WordPress output data to another website and pull data
- Hide response returned from WordPress REST API call
- How to use plugin’s shortcode in custom design? [closed]
- Paid Membership Pro displaying a user name in PHP
- Customize plugin’s output: filters or setters: looking for an advice
- Uncaught TypeError: Cannot read property ‘cycle’ of undefined
- Make another copy of a plugin and install it
- WordPress drop domain alias
- How do I override WordPress plugin css [closed]
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- WP Plugin CSS not being applied to page
- Creating Nested custom fields
- In the WordPress API is there a way to set the width of the post/page container
- Multiple calling javascript from shortcode in one page
- Unable to sync woocommerce variations
- Is there a function to search for a wildcard value when calling a shortcode?
- Plugin does not create a custom table upon activation
- Automatic updates of plugins and themes outside of wordpress.org
- Plugin hook breaks new WP 4.0 media library grid view?
- Hyperlink to execute PHP
- How to get site homepage from plugin?
- Contact Form loaded with Ajax
- Link Forms on WordPress
- How to correct Error: message on website Twitter Feed
- homepage olderposts link showing page not found
- WordPress plugin WP-blocks is adding slashes before apostrophe
- Image rotator plugin
- Adding Category in URL in some post
- Automatically set posts to NoIndex depending on category?
- Custom time field won’t sort regardless of format
- Move specific javascript to the footer
- Why does theme need woocommerce to show images / content on front page?
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- wordpress Ajax success doesn’t return the value
- add_meta_box showing blank screen in my page
- Option value not getting updated until page refresh in WordPress
- Use inline callable for hooks and filters