Description
Return the value for the padding/margin field when the $padding_pos matches a value in $match
Usage
oik_rwd_padding( $match, $padding_pos, $padding );Parameters
- $match
- ( mixed ) required –
- $padding_pos
- ( mixed ) required –
- $padding
- ( mixed ) required –
Returns
voidSource
File name: oik-rwd/shortcodes/oik-rwd.phpLines:
1 to 8 of 8
function oik_rwd_padding( $match, $padding_pos, $padding ) { if ( !$padding_pos || FALSE === strpos( $match, $padding_pos ) ) { $value = 0; } else { $value = $padding; } return( $value ); }View on GitHub
Called by
1 to 1 of 1
Invoked by
Calls
Call hooks
API Letters:
