| @@ 1452-1461 (lines=10) @@ | ||
| 1449 | * | |
| 1450 | * @since 2.3 | |
| 1451 | */ | |
| 1452 |     public static function tableless_field_types() { | |
| 1453 | static $field_types = null; | |
| 1454 | ||
| 1455 | 	    if ( null === $field_types ) { | |
| 1456 | $field_types = array( 'pick', 'file', 'avatar', 'taxonomy' ); | |
| 1457 | ||
| 1458 | $field_types = apply_filters( 'pods_tableless_field_types', $field_types ); | |
| 1459 | } | |
| 1460 | return $field_types; | |
| 1461 | } | |
| 1462 | ||
| 1463 | /** | |
| 1464 | * Get list of available file field types | |
| @@ 1470-1479 (lines=10) @@ | ||
| 1467 | * | |
| 1468 | * @since 2.3 | |
| 1469 | */ | |
| 1470 |     public static function file_field_types() { | |
| 1471 | static $field_types = null; | |
| 1472 | ||
| 1473 | 	    if ( null === $field_types ) { | |
| 1474 | $field_types = array( 'file', 'avatar' ); | |
| 1475 | ||
| 1476 | $field_types = apply_filters( 'pods_file_field_types', $field_types ); | |
| 1477 | } | |
| 1478 | return $field_types; | |
| 1479 | } | |
| 1480 | ||
| 1481 | /** | |
| 1482 | * Get list of available repeatable field types | |
| @@ 1520-1529 (lines=10) @@ | ||
| 1517 | * | |
| 1518 | * @since 2.3 | |
| 1519 | */ | |
| 1520 |     public static function number_field_types() { | |
| 1521 | static $field_types = null; | |
| 1522 | ||
| 1523 | 	    if ( null === $field_types ) { | |
| 1524 | $field_types = array( 'currency', 'number' ); | |
| 1525 | ||
| 1526 | $field_types = apply_filters( 'pods_tableless_field_types', $field_types ); | |
| 1527 | } | |
| 1528 | return $field_types; | |
| 1529 | } | |
| 1530 | ||
| 1531 | /** | |
| 1532 | * Get list of available date field types | |
| @@ 1538-1547 (lines=10) @@ | ||
| 1535 | * | |
| 1536 | * @since 2.3 | |
| 1537 | */ | |
| 1538 |     public static function date_field_types() { | |
| 1539 | static $field_types = null; | |
| 1540 | ||
| 1541 | 	    if ( null === $field_types ) { | |
| 1542 | $field_types = array( 'date', 'datetime', 'time' ); | |
| 1543 | ||
| 1544 | $field_types = apply_filters( 'pods_tableless_field_types', $field_types ); | |
| 1545 | } | |
| 1546 | return $field_types; | |
| 1547 | } | |
| 1548 | ||
| 1549 | /** | |
| 1550 | * Get list of available text field types | |