plugin-icon

Personio

作者:tomcat2111·
This plugin provides a shortcode to display your employees from Personio.
版本
0.0.3
活跃安装
10
最后更新
Mar 4, 2020

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.

[personio_team office=Berlin gender=male custom_999999=foo]

If you need addtional filtering then you can add a hook like the following.

if (!function_exists('wp_personio_filter_team')) { function wp_personio_filter_team($employees) { return array_filter($employees, function($employee){ return $employee->attributes->gender->value == 'male'; }, ARRAY_FILTER_USE_BOTH); } add_filter('wp_personio_filter_team', 'wp_personio_filter_team'); }
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.3.20
这个插件是可用的下载,适用于您的站点。