WPIntell

Source evidence

Detect Ipad

Mobile Detect · support · 2020-09-01T09:59:00+00:00

mixedsentiment
mediumseverity
0.67relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 30 rows with source links

6.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
nimashahin resolved
Hi, How can i detect tablet with this? Please see the example (from the upstream library) at http://mobiledetect.net/ . Basically, we use the class name TinyWP_Mobile_Detect instead of the default Mobile_Detect to avoid conflict with other plugins that may include the same upstream package. Basically, your code would look like this… $detect = new TinyWP_Mobile_Detect; // Any tablet device. if( $detect->isTablet() ){ } I hope that helps! This reply was modified 5 years, 8 months ago by Pothi Kalimuthu . Reason: Fix class name

Comments

1 shown
Pothi Kalimuthu 2020-09-04T05:53:00+00:00

Please see the example (from the upstream library) at http://mobiledetect.net/ . Basically, we use the class name TinyWP_Mobile_Detect instead of the default Mobile_Detect to avoid conflict with other plugins that may include the same upstream package. Basically, your code would look like this… $detect = new TinyWP_Mobile_Detect; // Any tablet device. if( $detect->isTablet() ){ } I hope that helps! This reply was modified 5 years, 8 months ago by Pothi Kalimuthu . Reason: Fix class name