{"id":104567,"date":"2019-06-27T17:22:47","date_gmt":"2019-06-27T17:22:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/personio\/"},"modified":"2020-03-04T18:07:44","modified_gmt":"2020-03-04T18:07:44","slug":"personio","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/personio\/","author":17195615,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.3","stable_tag":"0.0.3","tested":"5.3.21","requires":"4.9","requires_php":"5.2.4","requires_plugins":"","header_name":"Personio","header_author":"Thomas St\u00e4gemann","header_description":"A plugin to have the shortcodes to embed an overview of employees and their details view","assets_banners_color":"","last_updated":"2020-03-04 18:07:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=FW95HB4TZDWP8&source=url","header_plugin_uri":"","header_author_uri":"http:\/\/www.staegemann.info","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1369,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.0.2","0.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2465,8322,173260],"plugin_category":[],"plugin_contributors":[173261],"plugin_business_model":[],"class_list":["post-104567","plugin","type-plugin","status-publish","hentry","plugin_tags-employees","plugin_tags-hr","plugin_tags-personio","plugin_contributors-tomcat2111","plugin_committers-tomcat2111"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/personio.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>You can use such a shortcode to display the employees list or grid. By using the attributes you can filter the fields with a regular expression. You have to set up these fields in Personio. But on the settings page of this plugin you can see the available fields.<\/p>\n\n<pre><code>[personio_team office=Berlin gender=male custom_999999=foo]\n<\/code><\/pre>\n\n<p>If you need addtional filtering then you can add a hook like the following.<\/p>\n\n<pre><code>if (!function_exists('wp_personio_filter_team')) {\n    function wp_personio_filter_team($employees)\n    {\n        return array_filter($employees, function($employee){\n            return $employee-&gt;attributes-&gt;gender-&gt;value == 'male';\n        }, ARRAY_FILTER_USE_BOTH);\n    }\n\n    add_filter('wp_personio_filter_team', 'wp_personio_filter_team');\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>After installing and activating this plugin you need to enter the client ID and secret on the settings page. You can get these from Personio.<\/p>","raw_excerpt":"This plugin provides a shortcode to display your employees from Personio.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/104567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=104567"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tomcat2111"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=104567"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=104567"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=104567"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=104567"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=104567"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=104567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}