该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Personio

描述

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');
}

安装

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.

评价

此插件暂无评价。

贡献者及开发者

“Personio” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Personio”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志