GP_Project::after_create PHP Méthode

after_create() public méthode

Executes after creating a project.
Since: 1.0.0
public after_create ( ) : boolean
Résultat boolean
    public function after_create()
    {
        /**
         * Fires after creating a project.
         *
         * @since 1.0.0
         *
         * @param GP_Project $project The project that was created.
         */
        do_action('gp_project_created', $this);
        // TODO: pass some args to pre/after_create?
        if (is_null($this->update_path())) {
            return false;
        }
        return true;
    }