Skip to content

Instantly share code, notes, and snippets.

View ardiansyaherwin's full-sized avatar

ardiansyaherwin

View GitHub Profile

Report Flow

Report Sequence Diagram

UML Source :

@startuml
CampaignList -> CampaignForm: Create Campaign
CampaignForm --> CampaignList: Campaign & Report Created
@ardiansyaherwin
ardiansyaherwin / campaign-flow.md
Last active January 7, 2023 06:53
Campaign Flow

Campaign Flow

UML source:

@startuml
CampaignList -> CreateCampaignModal : on click Buat Campaign Baru
CreateCampaignModal -> InfoCampaign : on click Mulai button
InfoCampaign -> InfluencerAndRewards : on click Selanjutnya
InfluencerAndRewards -> InfoCampaign : on click Kembali
@ardiansyaherwin
ardiansyaherwin / frontpage-post.php
Created October 28, 2015 17:25
Wordpress page template for CMB2 custom rendering the fields dynamically or separately
<?php
// Get CMB2 metabox object
$GLOBALS['getfront_cmb'] = wds_frontend_cmb2_get();
// Get $GLOBALS['getfront_cmb'] object_types
$post_types = $GLOBALS['getfront_cmb']->prop( 'object_types' );
// Current user
$user_id = get_current_user_id();
// Parse attributes
$atts = shortcode_atts( array(
'post_author' => $user_id ? $user_id : 1, // Current user, or admin