Snippets: Enable Card Settings Metabox for Pages

By default the card meta settings aren't available for standard pages as you would generally not display pages as "entries" but if you really wanted to you can enable the Card meta settings box for pages using the following snippet.

add_filter( 'wpex_card_metabox_post_types', function( $types ) {
	$types[] = 'page';
	return $types;
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)