コード例 #1
0
function getFakecount()
{
    global $mashsb_options, $wp;
    $fakecountoption = 0;
    if (isset($mashsb_options['fake_count'])) {
        $fakecountoption = $mashsb_options['fake_count'];
    }
    $fakecount = round($fakecountoption * mashsb_get_fake_factor(), 0);
    //mashdebug()->info("fakecount: " . $fakecount);
    //return apply_filters('filter_get_fakecount', $fakecount);
    return $fakecount;
}
コード例 #2
0
function getFakecount()
{
    global $mashsb_options, $wp;
    $fakecountoption = 0;
    if (isset($mashsb_options['fake_count'])) {
        $fakecountoption = $mashsb_options['fake_count'];
    }
    $fakecount = round($fakecountoption * mashsb_get_fake_factor(), 0);
    return $fakecount;
}