GP_Project::after_save PHP Method

after_save() public method

Executes after saving a project.
Since: 1.0.0
public after_save ( ) : boolean
return boolean
    public function after_save()
    {
        /**
         * Fires after saving a project.
         *
         * @since 1.0.0
         *
         * @param GP_Project $project The project that was saved.
         */
        do_action('gp_project_saved', $this);
        // TODO: pass the update args to after/pre_save?
        // TODO: only call it if the slug or parent project were changed
        return !is_null($this->update_path());
    }