{"action":"created","issue":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/530","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/530/comments","events_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/530/events","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/530","id":55820030,"number":530,"title":"Output on Affiliate Dashboard should be filterable","user":{"login":"ryanduff","id":689047,"avatar_url":"https://avatars.githubusercontent.com/u/689047?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanduff","html_url":"https://github.com/ryanduff","followers_url":"https://api.github.com/users/ryanduff/followers","following_url":"https://api.github.com/users/ryanduff/following{/other_user}","gists_url":"https://api.github.com/users/ryanduff/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanduff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanduff/subscriptions","organizations_url":"https://api.github.com/users/ryanduff/orgs","repos_url":"https://api.github.com/users/ryanduff/repos","events_url":"https://api.github.com/users/ryanduff/events{/privacy}","received_events_url":"https://api.github.com/users/ryanduff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-28T21:42:33Z","updated_at":"2015-01-30T01:34:10Z","closed_at":null,"body":"Had instance where we wanted to display alternate text rather than the calculated rate for affiliates. They were either using custom rate (per affiliate) or using a per-product rate. In the case of per-product there was a range obviously so displaying the defaulted rate was confusing. \r\n\r\nProposing adding filters around text outputs on the stats tab, and possibly other areas of the affiliate dashboard so things can be overridden. Open to suggestions to which should probably have it (or all?). "},"comment":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/comments/72139113","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/530#issuecomment-72139113","issue_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/530","id":72139113,"user":{"login":"ryanduff","id":689047,"avatar_url":"https://avatars.githubusercontent.com/u/689047?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanduff","html_url":"https://github.com/ryanduff","followers_url":"https://api.github.com/users/ryanduff/followers","following_url":"https://api.github.com/users/ryanduff/following{/other_user}","gists_url":"https://api.github.com/users/ryanduff/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanduff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanduff/subscriptions","organizations_url":"https://api.github.com/users/ryanduff/orgs","repos_url":"https://api.github.com/users/ryanduff/repos","events_url":"https://api.github.com/users/ryanduff/events{/privacy}","received_events_url":"https://api.github.com/users/ryanduff/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T01:34:10Z","updated_at":"2015-01-30T01:34:10Z","body":"Wasn't aware there was a way to override whole template, though seems equally silly to do that just to change a single line, no? \r\n\r\nHooks weren't much because I wasn't trying to add to page, but rather replace a value on the page. \r\n\r\nIn this instance, https://github.com/affiliatewp/AffiliateWP/blob/c18741444c79bfe148d44342616a77d43043517d/templates/dashboard-tab-stats.php#L43\r\n\r\nFilters wrapped around those outputs would be helpful, or at least that was my thinking. "}}