- wp-admin assets refactoring (in process);

This commit is contained in:
Mykyta Synelnikov
2023-11-03 17:31:18 +02:00
parent ac2d64ff49
commit b40edd26e6
281 changed files with 7279 additions and 11667 deletions
+4 -3
View File
@@ -65,11 +65,12 @@ if ( ! class_exists( 'um\core\Form' ) ) {
public $usermeta_whitelist = array();
/**
* Form constructor.
* Hook for singleton
* @since 2.7.1
*/
public function __construct() {
public function hooks() {
add_action( 'template_redirect', array( &$this, 'form_init' ), 2 );
add_action( 'init', array( &$this, 'field_declare' ), 10 );
add_action( 'init', array( &$this, 'field_declare' ) );
}
/**