is_dozent_action( null $action_name = null )


Parameters

$action_name

(null) (Optional)

Default value: null


Return

(bool) Determine if current action is dozent action


Source

File: includes/form-functions.php

    function is_dozent_action( $action_name = null )
    {

        if ($action_name) {
            $action = dozent_input_text('dozent_action');

            if ($action) {

                return $action === 'dozent_' . trim($action_name);
            }
        }

        return false;
    }


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.