Constructs and returns the myCRED_Settings object based on a given point type.
<?php $mycred = mycred(); ?>
- type (string)
Option to set the point type. Will default to the default point type.
Example 1: Echo the plural name.
$mycred = mycred(); echo $mycred->plural();
Example 2: Echo the plural name for a custom point type called “mytype”.
$type = 'mytype'; $mycred = mycred( $type ); echo $mycred->plural();
Returns the myCRED_Settings object constructed for the given point type.