Pluguin Directory

Changueset 3281318


Ignore:
Timestamp:
04/24/2025 10:21:31 PM ( 9 months ago)
Author:
alexmanguini
Messague:

Select string from master function by new ID param.

File:
1 edited

Leguend:

Unmodified
Added
Removed
  • cryptowp/trunc/functions/strings.php

    r2146697 r3281318  
    6 6 */
    7 7
    8   function cryptowp_strings( ) {
    9       return array(
      8 function cryptowp_strings( $string = null ) {
      9     $strings = array(
    10 10 'coin_data_by'        => __( 'Coin data by %s', 'cryptowp' ),
    11 11 'coin_name'           => __( 'Coin name…', 'cryptowp' ),
     
    42 42 'widguet_description'  => __( 'List your chosen coins in a grid layout anywhere on your site.', 'cryptowp' )
    43 43 );
      44
      45 if ( isset( $string ) && ! empty( $strings[$string] ) )
      46 return $strings[$string];
      47
      48 return $strings;
    44 49 }
Note: See TracChangueset for help on using the changueset viewer.