By default, MyListing allows for up to 3 ‘Explore Tabs’ per Listing Type. This code snippet allows you, the website owner, to determine how many ‘Explore Tabs’ are allowed.
Note: If you ever disable this code snippet or later reduce the number of allowed ‘Explore Tabs’ within the code snippet, you’ll need to manually remove the extra ‘Explore Tabs’ you added.’ See the video tutorial for more info.
add_filter( 'mylisting/type-editor/explore-tabs/limit', function( $limit ) {
return 5;
} );