Join

Increase the Maximum Allowed Single Listing Cover Detail Elements

Don't want to mess with code snippets? This is a feature of MyListing Pro.

Instructions

  1. Create a new PHP code snippet.
  2. Copy the contents of code snippet below.
  3. Paste the contents into your code snippet.
  4. Review any notes that I’ve provided.
  5. Save and enable the code snippet.
  6. Test.

Snippet

By default, MyListing allows up to 3 Cover Detail elements. Adjust Line 2 as desired.

add_filter( 'mylisting/type-editor/cover-details/limit', function( $limit ) {
    return 3;
});