Plugin Directory

Changeset 3441305


Ignore:
Timestamp:
01/16/2026 11:10:27 PM (3 months ago)
Author:
edgarr41
Message:

Updated blueprint

Location:
eh-mortgage-calculator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • eh-mortgage-calculator/trunk/blueprint.json

    r3441299 r3441305  
    2222    {
    2323      "step": "updateOption",
    24       "optionName": "ehmc_settings",
    25       "optionValue": {
    26         "ehmc_default_amount": "450000",
    27         "ehmc_default_interest": "6.25",
    28         "ehmc_default_years": "30",
    29         "ehmc_primary_color": "#0d6efd",
    30         "ehmc_border_radius": "6",
    31         "ehmc_show_summary": "1",
    32         "ehmc_show_chart": "1",
    33         "ehmc_show_table": "1"
    34       }
     24      "optionName": "ehmc_default_amount",
     25      "optionValue": "450000"
     26    },
     27    {
     28      "step": "updateOption",
     29      "optionName": "ehmc_default_interest",
     30      "optionValue": "6.25"
     31    },
     32    {
     33      "step": "updateOption",
     34      "optionName": "ehmc_default_years",
     35      "optionValue": "30"
     36    },
     37    {
     38      "step": "updateOption",
     39      "optionName": "ehmc_show_summary",
     40      "optionValue": "1"
     41    },
     42    {
     43      "step": "updateOption",
     44      "optionName": "ehmc_show_chart",
     45      "optionValue": "1"
     46    },
     47    {
     48      "step": "updateOption",
     49      "optionName": "ehmc_show_table",
     50      "optionValue": "1"
     51    },
     52    {
     53      "step": "updateOption",
     54      "optionName": "ehmc_primary_color",
     55      "optionValue": "#0d6efd"
     56    },
     57    {
     58      "step": "updateOption",
     59      "optionName": "ehmc_border_radius",
     60      "optionValue": "6"
    3561    }
    3662  ]
  • eh-mortgage-calculator/trunk/includes/class-ehmc-loader.php

    r3441254 r3441305  
    3131    private function load_shortcode() {
    3232        $shortcode = new EHMC_Shortcode();   
    33         add_shortcode( 'ehmortgagecalculator', [ $shortcode, 'render' ] );
     33        add_shortcode( 'eh_mortgage_calculator', [ $shortcode, 'render' ] );
    3434    }
    3535   
Note: See TracChangeset for help on using the changeset viewer.