-
-
Save hjanuschka/8b55c7da6d39684eff1fe2358b267142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ac_custom_column_settings_181cf6b6() { | |
ac_register_columns( 'article', array( | |
array( | |
'columns' => array( | |
'title' => array( | |
'type' => 'title', | |
'label' => 'Title', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'name' => 'title' | |
), | |
'5a291cc9372ee' => array( | |
'type' => 'column-acf_field', | |
'label' => 'Format', | |
'width' => '', | |
'width_unit' => '%', | |
'field' => 'field_58e6472d91f16', | |
'edit' => 'off', | |
'sort' => 'off', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '5a291cc9372ee' | |
), | |
'article_statistics_link' => array( | |
'type' => 'article_statistics_link', | |
'label' => 'Article-Statistics', | |
'width' => '7', | |
'width_unit' => '%', | |
'name' => 'article_statistics_link' | |
), | |
'article_push_link' => array( | |
'type' => 'article_push_link', | |
'label' => 'Push', | |
'width' => '5', | |
'width_unit' => '%', | |
'name' => 'article_push_link' | |
), | |
'59311834c7351' => array( | |
'type' => 'column-date_published', | |
'label' => 'Date Published', | |
'width' => '8', | |
'width_unit' => '%', | |
'date_format' => 'wp_default', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'filter_format' => '', | |
'name' => '59311834c7351' | |
), | |
'59311834c742d' => array( | |
'type' => 'column-modified', | |
'label' => 'Last Modified', | |
'width' => '8', | |
'width_unit' => '%', | |
'date_format' => 'F j, Y g:i a', | |
'sort' => 'on', | |
'name' => '59311834c742d' | |
), | |
'596dca89359ce' => array( | |
'type' => 'column-author_name', | |
'label' => 'Author', | |
'width' => '', | |
'width_unit' => '%', | |
'display_author_as' => 'display_name', | |
'user_link_to' => 'view_user_posts', | |
'edit' => 'off', | |
'sort' => 'off', | |
'filter' => 'on', | |
'filter_label' => '', | |
'name' => '596dca89359ce' | |
), | |
'59311834c74ce' => array( | |
'type' => 'column-last_modified_author', | |
'label' => 'Last Modified Author', | |
'width' => '7', | |
'width_unit' => '%', | |
'display_author_as' => 'display_name', | |
'user_link_to' => 'edit_user', | |
'sort' => 'off', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '59311834c74ce' | |
), | |
'ressorts' => array( | |
'type' => 'ressorts', | |
'label' => 'Ressorts', | |
'width' => '', | |
'width_unit' => '%', | |
'name' => 'ressorts' | |
) | |
), | |
) | |
) ); | |
ac_register_columns( 'ressort', array( | |
array( | |
'columns' => array( | |
'title' => array( | |
'type' => 'title', | |
'label' => 'Title', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'name' => 'title' | |
), | |
'date' => array( | |
'type' => 'date', | |
'label' => 'Date', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'filter_format' => '', | |
'name' => 'date' | |
), | |
'ressort_statistics_link' => array( | |
'type' => 'ressort_statistics_link', | |
'label' => 'Article-Statistics', | |
'width' => '', | |
'width_unit' => '%', | |
'name' => 'ressort_statistics_link' | |
), | |
'59cce04c7ad3b' => array( | |
'type' => 'column-last_modified_author', | |
'label' => 'Last Modified Author', | |
'width' => '', | |
'width_unit' => '%', | |
'display_author_as' => 'display_name', | |
'user_link_to' => '', | |
'sort' => 'off', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '59cce04c7ad3b' | |
), | |
'5a741155ed907' => array( | |
'type' => 'column-modified', | |
'label' => 'Last Modified', | |
'width' => '', | |
'width_unit' => '%', | |
'date_format' => 'F j, Y g:i a', | |
'sort' => 'off', | |
'name' => '5a741155ed907' | |
) | |
), | |
) | |
) ); | |
ac_register_columns( 'template', array( | |
array( | |
'columns' => array( | |
'title' => array( | |
'type' => 'title', | |
'label' => 'Title', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'name' => 'title' | |
), | |
'date' => array( | |
'type' => 'date', | |
'label' => 'Date', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'filter_format' => '', | |
'name' => 'date' | |
), | |
'5a6878e553ebb' => array( | |
'type' => 'column-modified', | |
'label' => 'Last Modified', | |
'width' => '', | |
'width_unit' => '%', | |
'date_format' => 'F j, Y g:i a', | |
'sort' => 'off', | |
'name' => '5a6878e553ebb' | |
), | |
'5a6878e554004' => array( | |
'type' => 'column-last_modified_author', | |
'label' => 'Last Modified Author', | |
'width' => '', | |
'width_unit' => '%', | |
'display_author_as' => 'display_name', | |
'user_link_to' => '', | |
'sort' => 'off', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '5a6878e554004' | |
), | |
'5a8186d0d5f5f' => array( | |
'type' => 'column-author_name', | |
'label' => 'Author', | |
'width' => '', | |
'width_unit' => '%', | |
'display_author_as' => 'display_name', | |
'user_link_to' => '', | |
'edit' => 'off', | |
'sort' => 'off', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '5a8186d0d5f5f' | |
) | |
), | |
) | |
) ); | |
ac_register_columns( 'wp-media', array( | |
array( | |
'columns' => array( | |
'title' => array( | |
'type' => 'title', | |
'label' => 'Datei', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'name' => 'title' | |
), | |
'author' => array( | |
'type' => 'author', | |
'label' => 'Autor', | |
'width' => '10', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => 'author' | |
), | |
'taxonomy-image_format' => array( | |
'type' => 'taxonomy-image_format', | |
'label' => 'Bildformate', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => 'taxonomy-image_format', | |
'enable_term_creation' => 'off' | |
), | |
'comments' => array( | |
'type' => 'comments', | |
'label' => '<span class="vers comment-grey-bubble" title="Kommentare"><span class="screen-reader-text">Kommentare</span></span>', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => 'comments' | |
), | |
'date' => array( | |
'type' => 'date', | |
'label' => 'Datum', | |
'width' => '10', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'filter_format' => '', | |
'name' => 'date' | |
), | |
'last_modified' => array( | |
'type' => 'last_modified', | |
'label' => 'Zuletzt bearbeitet', | |
'width' => '', | |
'width_unit' => '%', | |
'name' => 'last_modified' | |
), | |
'5ab362f424577' => array( | |
'type' => 'column-meta', | |
'label' => 'bearbeitet von', | |
'width' => '', | |
'width_unit' => '%', | |
'field' => '_edit_last', | |
'field_type' => 'user_by_id', | |
'display_author_as' => 'display_name', | |
'user_link_to' => '', | |
'before' => '', | |
'after' => '', | |
'sort' => 'on', | |
'filter' => 'off', | |
'filter_label' => '', | |
'name' => '5ab362f424577' | |
) | |
), | |
) | |
) ); | |
ac_register_columns( 'wp-comments', array( | |
array( | |
'columns' => array( | |
'comment' => array( | |
'type' => 'comment', | |
'label' => 'Comment', | |
'width' => '', | |
'width_unit' => '%', | |
'edit' => 'off', | |
'sort' => 'off', | |
'name' => 'comment' | |
), | |
'date' => array( | |
'type' => 'date', | |
'label' => 'Submitted On', | |
'width' => '14', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'filter' => 'on', | |
'filter_label' => '', | |
'name' => 'date' | |
), | |
'story_title' => array( | |
'type' => 'story_title', | |
'label' => 'Titel', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'name' => 'story_title' | |
), | |
'user' => array( | |
'type' => 'user', | |
'label' => 'Benutzer', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'name' => 'user' | |
), | |
'status' => array( | |
'type' => 'status', | |
'label' => 'Veröffentlicht', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'name' => 'status' | |
), | |
'reported' => array( | |
'type' => 'reported', | |
'label' => 'Gemeldet', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'name' => 'reported' | |
), | |
'score' => array( | |
'type' => 'score', | |
'label' => 'Score', | |
'width' => '', | |
'width_unit' => '%', | |
'sort' => 'on', | |
'name' => 'score' | |
), | |
'5aa191305999a' => array( | |
'type' => 'column-meta', | |
'label' => '', | |
'width' => '1', | |
'width_unit' => 'px', | |
'field' => 'reported', | |
'field_type' => '', | |
'before' => '', | |
'after' => '', | |
'sort' => 'on', | |
'filter' => 'on', | |
'filter_label' => 'Reported', | |
'name' => '5aa191305999a' | |
) | |
), | |
) | |
) ); | |
} | |
add_action( 'ac/ready', 'ac_custom_column_settings_181cf6b6' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment