Skip to content

Snippet: Disable Card Settings Metabox

This can also be done without any code via the Theme Panel.

The following snippet can be used to disable the Card Settings metabox completely from the site.

/**
 * Disable Card Settings Metabox.
 *
 * @link https://totalwptheme.com/docs/snippets/disable-card-settings-metabox/
 */
add_filter( 'wpex_card_metabox', '__return_false' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top