YCWP_QR_Me __construct(
)
|
|
Initializes properties, sets filters, actions and shortcodes
API Tags:
Information Tags:
$string ycwp_qrme_add_qr_code(
string
$content
)
|
|
Add a QR Code image to the post content.
Parameters:
API Tags:
Information Tags:
void ycwp_qrme_enqueue_stuff(
)
|
|
Enqueue jQuery scripts
API Tags:
Information Tags:
void ycwp_qrme_localize(
)
|
|
Localizes the plugin
API Tags:
Information Tags:
void ycwp_qrme_option_form(
)
|
|
Prints a options form
API Tags:
Information Tags:
void ycwp_qrme_option_page(
)
|
|
Adds an option page
API Tags:
Information Tags:
string ycwp_qrme_print_image(
string
$content
)
|
|
Print a QR Code image
Parameters:
API Tags:
Information Tags:
void ycwp_qrme_register_opt_group(
)
|
|
Registers plugin options
API Tags:
Information Tags:
void ycwp_qrme_retrive_post_permalink(
$the_permalink
)
|
|
Retrives the permalink of the current post
Parameters:
API Tags:
Information Tags:
void ycwp_qrme_retrive_post_title(
$the_title
)
|
|
Retrives the title of the current post
Parameters:
API Tags:
Information Tags:
void ycwp_qrme_settings_link(
$links,
$file
)
|
|
Adds the Settings link to the plugin activation page
Parameters:
API Tags:
Information Tags:
void ycwp_qrme_set_defaults_on_init(
)
|
|
Defines the defaults values for the plugin.
API Tags:
Information Tags:
void ycwp_qrme_shortcode(
$atts, [
$content = null]
)
|
|
Prints a QR Code using a shortcode.
Examples:
- [qrme]http://www.example.com[/qrme]
- [qrme content="http://www.example.com"]
Examples with all optional attributes: - [qrme size="200" error="L" class="my-custom-class" title="My Example website" alt="A QR Code for my link"]http://www.example.com[/qrme]
- [qrme size="200" error="L" class="my-custom-class" title="My Example website" alt="A QR Code for my link" content="http://www.example.com"]
Parameters:
API Tags:
Information Tags:
string _ycwp_qrme_make_style_js(
)
|
|
Print jQuery code for show/hide effect
API Tags:
Information Tags: