Plugin Directory

Timestamp:
11/22/2023 12:18:17 PM (8 months ago)
Author:
crossi72
Message:

release 3.11.5
added integration with AltText.ai

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phoenix-media-rename/classes/class-pmr-settings.php

    r2940758 r3000104  
    3030        add_option('pmr_options', array('pmr_category_filename_trailer' => false), '', 'yes');
    3131        add_option('pmr_options', array('pmr_filename_trailer'), '', 'yes');
     32
    3233        add_filter('plugin_action_links_'. PMR_BASENAME, array($this, 'pmr_add_action_links'));
    3334    }
     
    226227        );
    227228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
    228244    }
    229245
     
    246262            $new_input['pmr_category_filename_trailer'] = false;
    247263            $new_input['pmr_filename_trailer'] = '';
     264
    248265        }
    249266
     
    259276        $this->sanitize_boolean($input, 'pmr_category_filename_trailer', $new_input);
    260277        $this->sanitize_text($input, 'pmr_filename_trailer', $new_input);
     278
    261279
    262280        return $new_input;
     
    362380
    363381    /**
     382
     383
     384
     385
     386
     387
     388
     389
    364390     * Get the settings option array and print one of its values
    365391     */
     
    458484        $value = $this->get_value_textbox('pmr_filename_trailer');
    459485        echo '<input type="text" id="pmr_filename_trailer" name="pmr_options[pmr_filename_trailer]" value="'. $value . '"//>';
     486
     487
     488
     489
     490
     491
     492
     493
     494
    460495    }
    461496
Note: See TracChangeset for help on using the changeset viewer.