src/Support/Data.php
Method get_dashicons
has 306 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function get_dashicons() {
return [
'admin-appearance',
'admin-collapse',
'admin-comments',
File Data.php
has 356 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace MetaBox\Support;
class Data {
public static function get_post_types() {
Method get_post_types
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function get_post_types() {
$unsupported = [
// WordPress built-in post types.
'customize_changeset',
'custom_css',