• Hi AntoineH,

    Great work i must commend.
    I have a little problem, i’m using the one stop match locktime setting, please how can i get to output the match locktime to the blog. stating to the users that this particular prediction of games will be due as at {$match_locktime}.

    NB: am running on localhost right now

    Thanks in advance.

    kind regards

    https://wordpress.org/plugins/football-pool/

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    I have a public function Football_Pool_Utils::get_fp_option() that you can call to get the value of an option (‘matches_locktime’ in your case).

    I made a little shortcode that uses this function to output any option from the plugin (if you know the name of the option). If you install this plugin you can get the match lock time with the shortcode [fp-plugin-option option="matches_locktime"].

    If you need to format the output, you would have to alter the extra plugin or use the function to retrieve the value and then do your formatting on it.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting the One Stop match_Locktime’ is closed to new replies.