Allow SVG Uploads in WordPress
This WordPress snippet enables administrators to easily upload SVG files, providing f...

WPCodeBox
792
The Hide Actions From My Account Listing Cards code snippet provides additional functionality for MyListing websites, allowing you to easily hide specific listing actions like Promote, Edit, Stats, and Delete from listing cards within the /my-account/my-listings/ area.
/**
* Author: MyListing Club
* Author URI: https://mylisting.club
*/
// COPY (MYLISTING CLUB DUPLICATE LISTINGS)
jQuery(document).ready(function($){
$('.mylistingclub-duplicate-listings__copy-link').closest('li').remove()
});
// PROMOTE
jQuery(document).ready(function($){
$('.cts-listing-action-promote').remove()
});
// DELETE
jQuery(document).ready(function($){
$('.cts-listing-action-delete').remove()
});
// STATS
jQuery(document).ready(function($){
$('.cts-listing-action-stats').remove()
});
// EDIT
jQuery(document).ready(function($){
$('.cts-listing-action-edit').remove()
});





