Class Sidecar_Shortcode
Located at classes/class-shortcode.php
public
|
|
public
null|string
|
|
public
|
#
add_the_content_filter( )
This allows Sidecar_Plugin_Base to add a hook for this shortcode to monitor the content for shortcodes. |
public
string
|
|
public
|
|
public
array
|
|
public
array
|
|
public
boolean
|
#
get_maybe_has_shortcode( integer $post_id )
Test to see if a given post needs externals by checking to see if shortcode was ever run. |
public
|
#
delete_has_shortcode( integer $post_id )
Remove the has shortcode flag. Used by Sidecar_Plugin_Base to clear on a Post Save. |
public
boolean
|
#
update_has_shortcode( integer $post_id, boolean $has_shortcodes )
Test to see if a given post has this shortcode. |
public
|
$plugin |
|
|
public
string
|
$shortcode_name |
|
|
protected
array
|
$_attributes | array() |
|
public
boolean
|
$initialized | false |
|
public
string
|
$used | 'no' |
#
'yes'/'no' vs. true/false as get_post_meta() returns '' for false and not found. |