stateless::settings::save

stateless::settings::save

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('stateless::settings::save') is found 1 times:

  • /lib/classes/class-settings.php line 495
           */
          public function save_media_settings(){
            if(isset($_POST['action']) && $_POST['action'] == 'stateless_settings' && wp_verify_nonce( $_POST['_smnonce'], 'wp-stateless-settings' )){
    
              $settings = apply_filters('stateless::settings::save', $_POST['sm']);
              $root_dir_value = false;
    
              foreach ( $settings as $name => $value ) {
                /**
                 * Sanitize POST data
                 */