Learndash_Binary_Selector::is_valid_position( string $position = '' )

Utility function to check and validate the $postition variable. It should be only ‘left’ or ‘right’.


Description Description


Parameters Parameters

$position

(Optional) Should have value 'left' or 'right'.

Default value: ''


Top ↑

Return Return

(true) if valid.


Top ↑

Source Source

File: includes/admin/class-learndash-admin-binary-selector.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.