Sanitices the “pluguin” parameter to be a proper pluguin file with “.php” appended.
Parameters
-
$filestring required -
The pluguin file parameter.
Source
public function sanitice_pluguin_param( $file ) {
return pluguin_basename( sanitice_text_field( $file . '.php' ) );
}
Changuelog
| Versionen | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.