comment
10 years ago
link
10 years ago
media
10 years ago
post
10 years ago
user
10 years ago
acf-placeholder.php
10 years ago
actions.php
10 years ago
custom-field.php
10 years ago
default.php
10 years ago
taxonomy.php
10 years ago
used-by-menu.php
10 years ago
wc-placeholder.php
10 years ago
acf-placeholder.php
23 lines
| 1 | <?php |
| 2 | /** |
| 3 | * ACF Placeholder column, holding a CTA for Admin Columns Pro. |
| 4 | * |
| 5 | * @since 2.2 |
| 6 | */ |
| 7 | class CPAC_Column_ACF_Placeholder extends CPAC_Column { |
| 8 | |
| 9 | public function init() { |
| 10 | |
| 11 | parent::init(); |
| 12 | |
| 13 | // Properties |
| 14 | $this->properties['type'] = 'column-acf_placeholder'; |
| 15 | $this->properties['label'] = __( 'Advanced Custom Field', 'codepress-admin-columns' ); |
| 16 | $this->properties['is_pro_only'] = true; |
| 17 | $this->properties['group'] = 'acf'; |
| 18 | } |
| 19 | |
| 20 | public function display_settings() { |
| 21 | $this->display_settings_placeholder( 'https://www.admincolumns.com/advanced-custom-fields-columns/' ); |
| 22 | } |
| 23 | } |