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 use classes declared in another plugin?
- Hooking in to plugins
- How to only hook on Single.php after content?
- What WordPress API function lists active/inactive plugins?
- Handling jQuery Component Collision
- why plugins are loaded prior to pluggables
- How to override normal WordPress search in Buddypress? [closed]
- Jetpack plugin (ShareDaddy): Prevent share buttons showing on custom post types?
- Shortcode under a Shortcode Multiple times Possible?
- How can I include PHP-Code to my post?
- Woocommerce exclude specific category products from related products [closed]
- Seriously stuck with some custom meta box/plugin stuff
- explanation for activate_plugin function in wordpress core
- How to Build a Movie Library in WordPress 3.x
- Intercept comment form submit/list by hook/filter
- How many security plugins are too many? [closed]
- Creating WordPress Plugin solely for Admin panel with dash menu and submenus
- I need to add a custom “cover” to every new post — plugin or custom setup?
- Creating an Exit Confirmation Popup
- How to prevent action in ajax request, when in admin side?
- Suspicious google tag manager
- How can I process xml file on upload?
- Permission Check for REST API Endpoint Runs Twice?
- Can I delete plugin files using FTP?
- Reposition Woocommerce Message
- After activating a Plugin, /wp-admin is no longer accessible
- Get all categories of custom post even not assigned
- Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
- Plugin not appearing after uploading it via FTP
- How to import my YouTube channel into WordPress?
- How get a value from a plugin into another plugin through action/filter
- Exclude post by custom meta with pre_get_posts
- CSV file generation failing
- Prevent duplicate records in plugin table
- Theme is Causing Ajax Conflicts for a plugin I cant identify it
- CSV syntax for WP All Import upload without ACF
- Error: Cannot find module ‘../build/Debug/nodegit.node’ [closed]
- Get Time Taken By Each Action Hook in WordPress
- Buddypress – Add the post_id in the bp_activity_add function
- Buidling a translate plugin for wordpress
- Automatic switch to backup database on fail
- Display wordpress post’s in popup?
- Plugin generated taxonomies’ permalinks with custom placeholders
- Paypal Integration [closed]
- Remove hovercard for only certian gravatars
- wp-custom-menu filter removes the current_page_item class
- Is there a best practice remediation for PhpStorm’s warning that void function the_post_thumbnail is used?
- Is there a loading priority for login_enqueue_scripts?
- How to apply lazy loading in background images [closed]
- How can I test plugin activation using phpunit?
- Prevent direct access to WordPress plugin assets?
- WordPress custom taxonomy not showing
- Any reason not to remove all default WP plugins?
- Determining when was the last time a plugin was activated
- Getting a Page via its post-name using WP REST API v2 and Postman
- A question about register_activation hook
- Too many login attempts
- How to change the wp_upload_dir() path in plugin
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- How to add options to the plugin page?
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- How can I redirect some pages to new subdomain? [closed]
- wp-mail attachment is not sent for no reason?
- How can I concatenate variables to search results title? [closed]
- Sending customer an email with link to stripe to make payment
- how to execute some code after a post is published in WordPress [duplicate]
- I can’t change permalink in WordPress 4.5.3
- WordPress plugin: efficient way to store large data
- Could not add ‘LoginLogout’ link using BAW login logout plugin
- Create a link which allows visitors to disable a plugin?
- login in wordpress using gmail account
- wordpress plugin to manage the layout/design of a theme
- CSS/JS files in WordPress
- How to automatically activate users after registration without activation email?
- Pass PHP variable to javascript
- create pages automatically and dynamically in wordPress
- How to authenticate via API to allow writes/updates
- WordPress rewrite rule depend on meta values not ids
- Problem with wordpress has_action() function
- WordPress – WPBakery – Near Footer jump issue
- Dequeue Table of Content font
- Display Woocommerce attribute name above product title
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- Why activated plugin does not appearing in left side menu bar of WordPress admin area?
- WordPress Dashboard shows no plugins installed!
- Rogue splash page keeps popping up
- Yoast Seo Plugin meta title not showoing [closed]
- Why doesn’t a form need an ‘action’ with a plugin that uses the post data?
- URL RewriteRule doesn’t work when using WP Database Participants in my WordPress website
- All plugins deactivated. What could cause this?
- Variable passed to each() is not an array
- product_tag to style an image
- Is there a way to include some external script to some or all pages in a wordpress site?
- Plugin activated but plugin files nowhere to be found
- How to load css files in a specific order
- Extra Text in Home URL
- Upload images on 3D shape by customers
- Where to find remaining Boldgrid code in WP database?
- how to restore one day before deleted data in wordpress?
- Creating a Freemium plugin in the WordPress Repository