first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace WPML\Media\Duplication;
|
||||
|
||||
class HooksFactory extends AbstractFactory {
|
||||
public function create() {
|
||||
if ( self::shouldActivateHooks() ) {
|
||||
return [ Hooks::class, 'add' ];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user