wpaccessibility / settings-api-enhanced

An improved WordPress Settings API with default render callbacks and a new accessible layout.
9 stars 0 forks source link

Consider to abstract checking for is_callable / is_string #12

Open afercia opened 7 years ago

afercia commented 7 years ago

Minor but worth considering. In the current implementation, a couple of times there's a check for is_callable() / is_string(). This could be re-used more and more in the future, and could maybe be abstracted in a utility method.

felixarntz commented 7 years ago

Let's do this later (see #13).