In general you can not override functions or methods in PHP. Code can be written to support such things, but it needs to be planned in advance, and your snippet is not big enough to be able to decide if it is possible or not in your case.
The good thing, is that you do not need to override any function at all as the output of that function is filterable by using the 'property_meta_boxes'
filter, so just do something like
add_filter('property_meta_boxes','wpse223273_meta_boxes');
function wpse223273_meta_boxes($metaboxes) {
$my_meta = array(.... your meta box settings....);
return $my_meta;
}
Related Posts:
- Is It Possible To Add Custom Post Type Menu As Another Custom Post Type Sub Menu
- Create a custom archive page for a custom post type in a plugin
- Media library – Limit images to custom post type
- How to Add Custom Taxonomy To Woocommerce Plugin
- Development of a WordPress Search Plugin – Best Practices
- Prevent trash/delete action on specific post types
- How to add custom content template part for a custom post type on main query using a plugin
- Change capability type of post type registered by plugin
- Change slug of registered custom post type in child theme
- Rewriting ‘rewrite’ slug for custom post type used by plugin
- echo value from ‘select’ field type into page template using cmb2?
- register_taxonomy with multiple object type and update_count_callback
- How often do you need to register_post_type?
- Custom post types and child theme
- post_type_link filter causes 404 on the CPT page it’s used on
- How to use a dedicated template for the Custom Post Type from a plugin?
- Add Capabilities to Custom Post Type after it has been created [duplicate]
- Add pre-existing meta box to new custom post type
- Include images from pages in wp search.php results in default wp search
- Separating Search Results By Post Type
- List events by month
- Date query for a custom meta field
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Change plugin’s has_archive = true to false?
- Getting arguments for register_post_type from a plugin generated post type
- update a post meta from a single table cell TablePress
- update custom post type meta from a shortcode
- Remove POST_TYPE from custom post type permalink
- Insert custom taxonomy into category query
- Custom Post Type single post type shown in theme single.php
- CPT UI: Connect a custom post type to a custom post type
- Simple Data picker meta box
- How to check if a new private custom post type is created?
- Looping through image object using ACF and CPT UI [SOLVED]
- Default custom post type url
- Run query on specific admin options page and send results to select field in another function
- Link two different post using there post_id in post meta
- Custom post type that lets users create a set of posts?
- Include images from pages in wp search.php results in default wp search
- Create Inclusions and exclusions
- How to create groups like that in buddypress?
- Post that populates itself (almost) automatically using data from imported excel file
- I broke it! Custom post type archive gets redirected to home
- Populate metabox dropdown with post title from another Custom Post Type (issues with wp_reset / global $post)
- Custom Fields through plugin in a Custom Post Type
- Can’t save custom post type fields
- Enable shortcodes on custom post type
- Multiple domains, Single database, 1 Parent/Master with all content, other domains/slaves with filtered content (based on “location” variable)
- How to Create movie schedule by custom post type query
- Best Plugins for Complex Index of Resources [closed]
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- WP_Query return highest number only
- Display subcategories in the filter on CPT
- Remove custom post type generated by a plugin (The Events Calendar) [closed]
- Show custom taxonomy not in submenu
- Understanding the workflow of form creation plugin
- Adding CPT changes entire layout of my site except for the archive of that CPT
- custom post type does not working when adding in child theme function
- How to load custom post type plugin after acf options page (or get settings from there another way)?
- Use Custom Post Type as Storage Container Without Registering It
- Loop carousel slider in wordpress
- Child Theme problems
- How to Fix WordPress 500 Internal server error due to custom post type
- Custom Fields as Post Type Options
- get_post_types doesn’t work in plugin
- next/prev post link by relationship post 2 post
- How to display custom post type in a submenu?
- Plugin Error on activating
- Custom Post Type parent slug as menu item
- Customizing a plugin function using a hook
- Custom Info Box at end of posts?
- Cannot modify a registered custom post type rewrite slug
- Custom Post Types and Child Themes!
- Having some trouble properly displaying Custom Post Types in templates
- How to add a custom post type in child theme? (WordPress > 3.0)
- Add Excerpt On Quicksand Plugin
- Author profile comments system
- Custom Post Types in plugins?
- Plugins for putting Custom Post Types into the Menu
- Configure which plugin custom post types get registered
- Extending a CPT by Created by another plugin
- How to add post type in masonry posts elementory widget
- Remove plugin’s custom post type archive page and single pages [closed]
- Display Custom Post Type on Toolset Types Plugin
- Plugin – read post into blank page [duplicate]
- Test if a Category contains certain Custom Post Types
- How to Create Short Code Using Custom Post type
- How to hide home title on pages and posts?
- WP_Query is getting the post but the_post() not rendering any Post
- make playlist from a custom post type
- Custom Post Type to Plugin
- Woocommerce product page is not showing custom css [closed]
- How to delete unnecessary custom post types in the UI
- add_filter > posts_where works partially
- Simple Share Buttons Add Plugin and Custom Post Type
- How to get ‘Products’ on home page?
- Retrieve a post with its ACF repeater fields in wordpress
- How can I show template dropdown in custom post type?
- WP 4.4 upgrade custom post type cannot add new
- ACF Pro simple Business Directory – Requesting assistance with created Templates and associated Functions.php Coding