Makes sites use the Carrington Mobile theme designed for mobile devices when visitors come to any site on your network with a mobile device.
FILTERS
mobile_browsers
filters the mobile browsers user agents (array)
touch_browsers
filters the touch browsers user agents (array)
mobile_theme
filters the mobile theme (theme dirname)
check_mobile
filters the check mobile bolean (true or false)
Example: filter check_mobile allows you to affect if a mobile browser is detected.
function your_mobile_check_function($mobile_status) {
// do your logic, set $mobile_status to true/false as needed
return $mobile_status;
}
add_filter('check_mobile', 'your_mobile_check_function');
ACTIONS
wpmsme_settings_form_top
hook at the beginning of the settings page
wpmsme_settings_form_bottom
hook at the end of the settings page
Example: action wpmsme_settings_form allows you to add to the settings page for this plugin. Handling form posts and other activities from anything you add to this form should be done in your plugin.
function your_settings_form() {
// create your form here - don't forget to catch the form submission as well
}
add_action('wpmsme_settings_form', 'your_settings_form');
Requires: 3.0 or higher
Compatible up to: 3.1.4
Last Updated: 2012-9-6
Downloads: 25,132
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?