{"id":21931328,"url":"https://github.com/themeplate/column","last_synced_at":"2026-02-23T03:11:15.958Z","repository":{"id":57068281,"uuid":"236137469","full_name":"ThemePlate/Column","owner":"ThemePlate","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-02T15:55:55.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-02T16:35:11.707Z","etag":null,"topics":["custom-columns","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThemePlate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-25T07:04:42.000Z","updated_at":"2025-03-02T15:55:52.000Z","dependencies_parsed_at":"2025-03-02T16:27:45.669Z","dependency_job_id":"b4e5ccb6-a0ac-45c0-bf9e-8060f2ba5a22","html_url":"https://github.com/ThemePlate/Column","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FColumn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FColumn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FColumn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FColumn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThemePlate","download_url":"https://codeload.github.com/ThemePlate/Column/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959454,"owners_count":20538628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-columns","wordpress"],"created_at":"2024-11-28T23:13:32.327Z","updated_at":"2026-02-23T03:11:15.954Z","avatar_url":"https://github.com/ThemePlate.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThemePlate Column\n\n## Usage\n\n```php\nuse ThemePlate\\Column\\PostTypeColumn;\nuse ThemePlate\\Column\\TaxonomyColumn;\nuse ThemePlate\\Column\\UsersColumn;\n\nfunction pretty_print( $object_id ) {\n\techo '\u0026hearts;\u0026nbsp;\u003cb\u003e' . $object_id . '\u003c/b\u003e \u0026mdash;\u0026rsaquo;';\n};\n\n( new PostTypeColumn( 'Post ID' )-\u003ecallback( 'pretty_print' ) )-\u003einit();\n( new TaxonomyColumn( 'Term ID' )-\u003ecallback( 'pretty_print' ) )-\u003einit();\n( new UsersColumn( 'User ID' )-\u003ecallback( 'pretty_print' ) )-\u003einit();\n```\n\n### Available config\n```php\n// Before init\n$column-\u003eposition( 0 )-\u003eargs( array() )-\u003eclass( '' );\n```\n\n### Specific location\n```php\n( new PostTypeColumn( 'Model', $my_callback ) )-\u003elocation( 'custom_post_type' )-\u003einit();\n( new TaxonomyColumn( 'Value', $my_callback ) )-\u003elocation( 'tax_1' )-\u003elocation( 'tax_2' )-\u003einit();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fcolumn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemeplate%2Fcolumn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fcolumn/lists"}