Skip to content

Instantly share code, notes, and snippets.

@robertdevore
Last active March 23, 2018 16:12
Show Gist options
  • Select an option

  • Save robertdevore/1a6c58af88a60acb606d3940f3f4f416 to your computer and use it in GitHub Desktop.

Select an option

Save robertdevore/1a6c58af88a60acb606d3940f3f4f416 to your computer and use it in GitHub Desktop.
RD Git PR log

Based on the AA Git Commit Log from Ahmad Awais πŸ’―

sidenote: example text here

πŸ“¦ NEW:

  • field name
  • function example
  • another item

πŸ“– DOC:

  • update info in readme.txt
  • various README.md updates
  • inline info in filename.php

πŸ‘Œ IMPROVE:

  • WordPress Coding Standards FTW 😎

πŸ’» CODE:

Here are examples of the new options that come with this PR πŸ‘

Field: type separator

// Field: Separator.
$wposa_obj->add_field(
	'wposa_basic',
	array(
		'id'      => 'separator',
		'type'    => 'separator',
	)
);

Field: type text
Field: arg placeholder

// Field: Text.
$wposa_obj->add_field(
	'wposa_basic',
	array(
		'id'          => 'text',
		'type'        => 'text',
		'name'        => __( 'Text Input', 'WPOSA' ),
		'desc'        => __( 'Text input description', 'WPOSA' ),
		'default'     => 'Default Text',
		'placeholder' => '',
	)
);

πŸ“· SCREENSHOTS:

screenshot-name

Screenshot details here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment