AnsPress_Init::prevent_ext( boolean $ret, string $ext )
Description #
Prevent loading of previous extension.
Parameters #
- $retboolean (Required) Return.
- $extstring (Required) Extension slug.
Source #
File: anspress-question-answer.php
public static function prevent_ext( $ret, $ext ) { if ( in_array( $ext, [ 'categories-for-anspress', 'tags-for-anspress', 'anspress-email' ] ) ) { return false; } return $ret; }
Expand full source code Collapse full source code View on GitHub: anspress-question-answer.php:626
Add your comment