p =& $plugin; if ( $this->p->debug->enabled ) { $this->p->debug->mark(); } /* * Prevent Yoast Duplicate Post from creating duplicate entries in the metadata table. */ add_filter( 'duplicate_post_excludelist_filter', array( $this, 'duplicate_post_excludelist_filter' ), 10, 1 ); } /* * Prevent Yoast Duplicate Post from creating duplicate entries in the metadata table. */ public function duplicate_post_excludelist_filter( $exclude_keys ) { return WpssoAbstractWpMeta::add_duplicate_exclude_meta_keys( $exclude_keys ); } } }